Re: Using Lucene MultiFieldQueryParser with SOLR
The only problem I found with q.alt is that it doesn't allow highlighting (or at least it doesn't showed it for me). If you find out how to do it let me know. Thanks! Kraus, Ralf | pixelhouse GmbH wrote: > > Marc Sturlese schrieb: >> Well dismax has a q.alt parameter where you can specify a query in >> "lucene" >> sintax. The query must be empty to use q.alt: >> http://.../select?q=&q.alt=phone_number:1234567 >> This would search in the field phone_number independly of what fields you >> have configured in teh dismax. >> > Now I use the "fq" parameter in combination with "q.alt" ... Runs fine > yet :-) > The "fq" parameter sets my additional query parameter :-) > > Greets -Ralf- > > > > -- View this message in context: http://www.nabble.com/Using-Lucene-MultiFieldQueryParser-with-SOLR-tp23094412p23097737.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Using Lucene MultiFieldQueryParser with SOLR
Marc Sturlese schrieb: The only problem I found with q.alt is that it doesn't allow highlighting (or at least it doesn't showed it for me). If you find out how to do it let me know. I use highlighting only with the normal querry ! My q.alt is "*.*" But its really sad that the dismax dont support wildcarts :-( Greets -Ralf-
Re: Using Lucene MultiFieldQueryParser with SOLR
Marc Sturlese schrieb: Well dismax has a q.alt parameter where you can specify a query in "lucene" sintax. The query must be empty to use q.alt: http://.../select?q=&q.alt=phone_number:1234567 This would search in the field phone_number independly of what fields you have configured in teh dismax. Now I use the "fq" parameter in combination with "q.alt" ... Runs fine yet :-) The "fq" parameter sets my additional query parameter :-) Greets -Ralf-
Re: Using Lucene MultiFieldQueryParser with SOLR
Well dismax has a q.alt parameter where you can specify a query in "lucene" sintax. The query must be empty to use q.alt: http://.../select?q=&q.alt=phone_number:1234567 This would search in the field phone_number independly of what fields you have configured in teh dismax. Another way would be to confiure various requesthandlers (one with dismax and one standard for the filed that you want for example). You can tell Solr wich to use in the url request Don't know if this is what you need... Kraus, Ralf | pixelhouse GmbH wrote: > > Marc Sturlese schrieb: >> Think there's no search handler that uses MultiFieldQueryParser in Solr. >> But >> check DismaxRequestHandler, probably will do the job. Yo can specify all >> the >> fields where you want to search in and it will build the query using >> boolean >> queries. It includes also many more features: >> http://wiki.apache.org/solr/DisMaxRequestHandler >> > Is there a chance to combine RequestHandler ? > I need to use some additional "normal" boolean and integer querries ! > > Greets -Ralf- > > -- View this message in context: http://www.nabble.com/Using-Lucene-MultiFieldQueryParser-with-SOLR-tp23094412p23097365.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Using Lucene MultiFieldQueryParser with SOLR
Marc Sturlese schrieb: Think there's no search handler that uses MultiFieldQueryParser in Solr. But check DismaxRequestHandler, probably will do the job. Yo can specify all the fields where you want to search in and it will build the query using boolean queries. It includes also many more features: http://wiki.apache.org/solr/DisMaxRequestHandler Is there a chance to combine RequestHandler ? I need to use some additional "normal" boolean and integer querries ! Greets -Ralf-
Re: Using Lucene MultiFieldQueryParser with SOLR
Marc Sturlese schrieb: Think there's no search handler that uses MultiFieldQueryParser in Solr. But check DismaxRequestHandler, probably will do the job. Yo can specify all the fields where you want to search in and it will build the query using boolean queries. It includes also many more features: http://wiki.apache.org/solr/DisMaxRequestHandler THX A LOT ! You really made my day ! Greets -Ralf-
Re: Using Lucene MultiFieldQueryParser with SOLR
Think there's no search handler that uses MultiFieldQueryParser in Solr. But check DismaxRequestHandler, probably will do the job. Yo can specify all the fields where you want to search in and it will build the query using boolean queries. It includes also many more features: http://wiki.apache.org/solr/DisMaxRequestHandler Kraus, Ralf | pixelhouse GmbH wrote: > > Hello, > > I am searching for a way to use the Lucene MultiFieldQueryParser in my > SOLR Installation. > Is there a chance to change the "solrQueryParser" ? > > In my old Lucene Setting I used to combine many different types of > QueryParser in my Querry... > > Or is there a chance to get MultiFieldQueryParser functions in SOLR ? > > Greets -Ralf- > > -- View this message in context: http://www.nabble.com/Using-Lucene-MultiFieldQueryParser-with-SOLR-tp23094412p23094692.html Sent from the Solr - User mailing list archive at Nabble.com.
Using Lucene MultiFieldQueryParser with SOLR
Hello, I am searching for a way to use the Lucene MultiFieldQueryParser in my SOLR Installation. Is there a chance to change the "solrQueryParser" ? In my old Lucene Setting I used to combine many different types of QueryParser in my Querry... Or is there a chance to get MultiFieldQueryParser functions in SOLR ? Greets -Ralf-