I would like to parse user request “Hello world!” by my custom analyzer and search throw “title”, “description” fields by using PhraseQuery
I found crazy solution of my problem but it looks not optimized
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try MultiFieldQueryParser. You can specify list of fields for which the query is to be created.