On 14/02/2008, at 00:58, Mike Klaas wrote:
On 13-Feb-08, at 6:11 PM, Leonardo Santagada wrote:
On 13/02/2008, at 23:03, Mike Klaas wrote:
Try using standardrequesthandler with the dismax query parser.


How can I say to standardrequesthandler to apply each query string to a diferent field, and how can I conbine the two on the config xml? A little example would be cool.

I don't see how you could pre-configure this in solrconfig.xml: how do you specific which querystring gets sent to which field?

Just send the query to stdreq handler as follows:

q=field1:<query1> field2:<query2>

see http://wiki.apache.org/solr/SolrQuerySyntax


Yes, that is what we are doing now, but <query1> and <query2> use the full lucene sintax and not the one from dismax query parser. I would like to be able to do a search like the one above but with the dismax query parser for <query1> ans <query2>. Is that possible in any way?

--
Leonardo Santagada



Reply via email to