lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <rl...@leirtech.com>
Subject Re: Need help with match contains query in SOLR
Date Thu, 01 Mar 2018 22:35:33 GMT
Hi
Would a pf2 boost suit your needs? You would match loosely on any term, and your results containing
bigrams would be at the top. 
HTH -- Rick

On March 1, 2018 11:54:19 AM EST, bbarani <bbarani@gmail.com> wrote:
>Hi,
>
>I want to do a complete "phrase contain" match.
>
>For ex:  Value is stored as below in the multivalued field
><doc>
><id>1</id>
><arr name="searchTerms">
><str>transfer responsibility</str>
><str>transfer account</str>
></arr>
></doc>
>
>*Positive cases: (when it should return this document)*
>searchTerms:how to transfer responsibility
>searchTerms:show me ways to transfer responsibility
>searchTerms:show me ways to transfer account
>searchTerms:what is transfer accoun
>
>
>*Negative cases: (when it should not return this document)*
>searchTerms:how to transfer
>searchTerms:what is responsibility
>searchTerms:what is account
>searchTerms:what is transfer
>searchTerms:what is transfer and responsibility
>searchTerms:what is transfer and account
>searchTerms:what is account with responsibility
>
>
>
>--
>Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message