: of queryparser? why do we need a flexible query parser module for symbol : "&&" to work? Doesn't queryparser handle this?
I suspect Uwe may have missunderstood your question due to the lack of details in your original question... : > In our search application , queries like test && usage is not returning : > correct results but if I give the query like test AND usage works fine. : > Using queryparser with standard analyzer. Could some one please help me.** The query parser does treat "&&" as syntactically equivilent to "AND", and there are test cases showing that this works -- so if you have some queries where "&&" doesn't work but "AND" does then something fishy is going on, and you'll need to show us some code demonstrating hte problem in order to try and help you get to the bottom of it ... most likeley it is a mistaken assumption/understanding in your code. In addition: please use the java-user@lucene mailing list for questions like this... https://people.apache.org/~hossman/#java-user Please Use "java-user@lucene" Not "dev@lucene" Your question is better suited for the java-user@lucene mailing list ... not the dev@lucene list. The dev list is for discussing development of the internals of Solr and the Lucene Java library ... it is *not* the appropriate place to ask questions about how to use Solr or the Lucene Java library when developing your own applications. Please resend your message to the java-user mailing list, where you are likely to get more/better responses since that list also has a larger number of subscribers. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
