It reminds edismax (see mm, pf params) and MLT (more like this) features, but unless you _extract_ an _entity_ to search in compatible_with field it's can hardly avoid false positive matches like "apple white".
On Sun, Apr 8, 2018 at 11:01 PM, Sami al Subhi <s...@alsubhi.me> wrote: > I have a set of products' docs with field name_en for example > name_en:"Apple iPhone 6 32GB white" > when a user chooses this product to view, I use the product name as a > search > phrase and retrieve all the product accessories docs that have "iphone 6" > (not "iphone 7") in the field of compatible_with > > I am really struggling with how to tokenize and filter the field > compatible_with in order to achieve a match by the relative product name. > > can you please help me! > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev