akinori schrieb:
I indexed English dictionary to solr.
When I search "apple juice" for example, solr understands the query is
"apple" & "juice" as what I want. Howerver, when I search "apple for",
solr thinks that the query is just "apple".
How can I solve this? I think I have to understand the analyzer.

Exactly.

Could anyone navigate me?

Go to your analysis page, enter your field name (or type), check
"verbose output", enter your query, and press "Analyze".

http://localhost:8983/solr/admin/analysis.jsp

You'll probably find that the word "for" is removed as a so-called
stopword.

Michael Ludwig

Reply via email to