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

Search.removeField(property) not work #111

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment
Open

Search.removeField(property) not work #111

GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

when use projection query, the addField method can work, but the removeField 
have no effect on result.
i use the latest version:1.2.0

Original issue reported on code.google.com by sendre...@gmail.com on 22 Dec 2013 at 9:38

@GoogleCodeExporter
Copy link
Author

and i found another serious problem, if use projection search, the result 
return will be object other then custom object.

Search s = new Search(Document.class);
s.addFilterIn("id", dictionary.keySet().toArray());
s.addField("oid").addField("id").addField("name").addField("owner").addField("au
thor");
List<Document> docs = documentDao.search(s);

the result will be Object list other than Document list.

Original comment by sendre...@gmail.com on 22 Dec 2013 at 11:27

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

No branches or pull requests

1 participant