lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <>
Subject Re: Need help with match contains query in SOLR
Date Thu, 01 Mar 2018 22:35:33 GMT
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 <> wrote:
>I want to do a complete "phrase contain" match.
>For ex:  Value is stored as below in the multivalued field
><arr name="searchTerms">
><str>transfer responsibility</str>
><str>transfer account</str>
>*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:

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