KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I read How to incorporate multiple fields in QueryParser? but i didn't get it. At the moment i have a very strange construction like: parser = New QueryParser("bodytext", analyzer) parser2 = New QueryParser("title", analyzer) query = parser.Parse(strSuchbegriff) query2 = parser.Parse(strSuchbegriff) What can i do for something like: parser = New QuerParser ("bodytext" , "title",analyzer) query =parser.Parse(strSuchbegriff) so the Parser looks for the searching word in the field "bodytext" an in the field "title".
Tags (comma-separated)
Save Edits
Cancel