Re: dismax query syntax to replace standard query

2009-12-04 Thread javaxmlsoapdev
Thanks. When I do it that way it gives me following query. params={indent=on&start=0&q=risk+test&qt=dismax&fq=statusName:(Male+OR+Female)+name:"Joe"&hl=on&rows=10&version=2.2} hits=63 status=0 QTime=54 I typed in 'Risk test' (no quote in the text) in the text field in UI. I want search to do AN

Re: dismax query syntax to replace standard query

2009-12-03 Thread Yonik Seeley
For more complex queries (including full well-formed lucene queries), there's the newly committed extended dismax parser in 1.5-dev (trunk) http://issues.apache.org/jira/browse/SOLR-1553 -Yonik http://www.lucidimagination.com On Thu, Dec 3, 2009 at 4:14 PM, Ian Sugar wrote: > I believe you nee

Re: dismax query syntax to replace standard query

2009-12-03 Thread Ian Sugar
I believe you need to use the fq parameter with dismax (not to be confused with qf) to add a "filter query" in addition to the q parameter. So your text search value goes in q parameter (which searches on the fields you configure) and the rest of the query goes in the fq. Would that work? On Thu