Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref gives inconsistent results #36

Open
animeshmanglik opened this issue May 21, 2018 · 0 comments
Open

ref gives inconsistent results #36

animeshmanglik opened this issue May 21, 2018 · 0 comments

Comments

@animeshmanglik
Copy link

animeshmanglik commented May 21, 2018

Documents in Custom Type

Author	author	Repeatable	142 docs.	
Category category Repeatable	16 docs.	
Product	product	Repeatable	6304 docs.		
Series	series	Repeatable	7 docs.	
Source	source	Repeatable	169 docs.	

Trying to use these commands to get sources documents.

form = api.form("everything")
form.ref(api.get_master()).query("""[[any(document.type, ["source"])]]""").page_size("100")
form.submit().documents

The results are inconsistent, sometimes it spurts out only products.

When I use this command multiple times.

form.ref(api.get_master()).query("""[[any(document.type, ["source"])]]""").page_size("100")

It returns the correct result.

Not too sure whats happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant