ecember 18, 2015 2:27 PM
To: solr-user
Subject: Re: Permutations of entries in a multivalued field
The other thing to check is the ComplexPhraseQueryParser, see:
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser
It uses the Span queries to build up
Duh, didn't realize you could set inOrder in Solr. Y, that's the better
solution.
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Friday, December 18, 2015 2:27 PM
To: solr-user
Subject: Re: Permutations of entries in a multivalued field
The other thing to check is the ComplexPhraseQueryParser, see:
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser
It uses the Span queries to build up the query...
Best,
Erick
On Fri, Dec 18, 2015 at 11:23 AM, Allison, Timothy B.
wrote:
> Hi Joh
Hi Johannes,
I suspect that Scott's answer would be more efficient than the following, and
I may be misunderstanding the problem!
This type of search is supported at the Lucene level by a SpanNearQuery with
inOrder set to false.
So, how do you get a SpanQuery in Solr? You might want to l
Johannes,
I think your best bet is to create a QParserPlugin that orders the terms of
the incoming query. It sounds like you have control over the way that field
is indexed, so you could enforce the same ordering when the document comes
into Solr. If that's not the case then you'll also want to wr
Hello all,
we are facing the following problem: we use a multivalued string field
that contains entries of the kind A/B/C/, where A,B,C are terms.
We are now looking for a simple way to also find all permutations of
A/B/C, so e.g. B/A/C. As a workaround we added a new field that contains
all e