lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: search for documents where all words of field present in the query
Date Tue, 17 Nov 2015 14:59:31 GMT
This sounds more like a use case for https://github.com/flaxsearch/luwak

Or a variation of Ted Sullivan's work:
http://lucidworks.com/blog/author/tedsullivan/

I do not think this can be done in Solr directly. If your matched
fields were always 2-tokens, you could do complex mm param. If the
words in the query always appear in the same order as in the field,
you probably do some sort of auto-phrasing or n-gram matching. But
just as you described - it is unlikely.

Can you explain your business case, maybe there are different ways to
index the data to match the requirements.

Regards,
   Alex.
----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 17 November 2015 at 09:46, superjim <mail@tevel.info> wrote:
> There the same questions I've found in google:
>
> Solr query must match all words/tokens in a field
> http://stackoverflow.com/questions/10508078/solr-query-must-match-all-words-tokens-in-a-field
>
> Syntax for query where all words in field must be present in query
> http://stackoverflow.com/questions/18390892/syntax-for-query-where-all-words-in-field-must-be-present-in-query
>
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/search-for-documents-where-all-words-of-field-present-in-the-query-tp4240564p4240565.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message