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 shingles of required size(s) and search for exact match.
HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 2 Mar 2018, at 01:07, bbarani <bbar...@gmail.com> wrote: > > 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: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html