Re: Need help with match contains query in SOLR

2018-03-01 Thread Emir Arnautović
Hi, Is the size of phrases in index arbitrary or only two words? Do you need to apply some standardisations on individual words? Depending on the answers indexing will be different, but the goal is to index phrase as a single token (might need some custom token filter). At search time, you do

Re: Need help with match contains query in SOLR

2018-03-01 Thread bbarani
The problem with pf2 is that it will return the document if it matches loosely too and then I need to do a comparison to see whether the match was a complete phrase match OR not before actually using the result. It would become a 2 step process.. -- Sent from:

Re: Need help with match contains query in SOLR

2018-03-01 Thread Rick Leir
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 wrote: >Hi, > >I want to do a complete "phrase contain" match. > >For ex: Value is

Re: Need help with match contains query in SOLR

2018-03-01 Thread bbarani
Hi, I want to do a complete "phrase contain" match. For ex: Value is stored as below in the multivalued field 1 transfer responsibility transfer account *Positive cases: (when it should return this document)* searchTerms:how to transfer responsibility searchTerms:show me ways to transfer

Re: Need help with match contains query in SOLR

2018-02-20 Thread Alessandro Benedetti
It was not clear at the beginning, but If I understood correctly you could : *Index Time analysis* Use whatever charFilter you need, the keyword tokenizer[1] and then token filters you like ( such as lowercase filter, synonyms ect) *Query Time Analysis* You can use a tokenizer you like ( that

Need help with match contains query in SOLR

2018-02-19 Thread bbarani
Hi, I have a requirement where I want to perform the 'contains' match and would need your help to define the fieldtype and query for this requirement. Value stored in SOLR: transfer responsibility transfer account Now, I want the above document to be returned for the below keyword when I