the default query operator is pretty much ignored with (e)dismax
style parsers. You can get there by varying the "mm" parameter.

See: 
http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29

Best
Erick

On Tue, Apr 3, 2012 at 10:58 PM, neosky <neosk...@yahoo.com> wrote:
> 1.I did 5 gram token in my sequence field, and I search as the following
>
> http://192.168.52.137:8983/solr/select?indent=on&defType=dismax&version=2.2&q=sequence:NNNNN%20sequence:NNNNN%20sequence:NNNNG&fq=&start=0&rows=10&fl=*,score&qt=&wt=&explainOther=&hl=on&hl.fl=sequence
>
> I want to return a document with "NNNNN" & "NNNNN" & "NNNNG" at the same
> time(the first and the second queries are the same)
> most of cases work well, except one without "NNNNG" also is returned
> 2. I can't remember which to define the operation behind the "q"  is "AND"
> but not "OR"
> Actually I modified it somewhere before, but I can't remember now.
> I use "defType=edismax" here
>
> 3. I also tried the defType=dismax, but it return no any result even I just
> query one parameter
> http://192.168.52.137:8983/solr/select?indent=on&version=2.2&defType=dismax&q=NNNNN&fq=&start=0&rows=10&fl=*,score&qt=&wt=&explainOther=&hl=on&hl.fl=sequence
> It should turn many candidates.Why dismax doesn't work with Ngram?
>
> I am a little overwhelmed.Thanks in advance
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-return-a-result-with-multiple-query-tp3883049p3883049.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to