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

Passing in a list of int ids #13

Open
mahgo opened this issue Nov 12, 2016 · 0 comments
Open

Passing in a list of int ids #13

mahgo opened this issue Nov 12, 2016 · 0 comments
Assignees

Comments

@mahgo
Copy link

mahgo commented Nov 12, 2016

Is it possible to add filtering by a list of ints functionality?

public List<FooResult> GetFoosByIds(List<int> ids) { List<FooResult> foos = Index<FooResult>("FooSearcher").Where(x => x.NodeTypeAlias == "foo" && ids.Contains(x.Id)).ToList(); return foos; }

It looks like it doesn't do anything with the list
[ParseException: Cannot parse '(+nodeTypeAlias:foo) AND ': Encountered "" at line 1, column 72.

@base33 base33 self-assigned this Mar 10, 2017
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

2 participants