Solr Suggestester Search Class for Intelligent Search

I am working on Solr 3.6 for auto suggestions. I refer to the Solr Suggestester component (http://wiki.apache.org/solr/Suggester) for the same. But I cannot decide which Lookup class I should use for Suggestester, and there is still no good documentation from which I can find the best.

I have chosen among these four search classes:

JaspellLookup - a tree-based view based on Jaspell, TSTLookup - a three-tree tree view that can instantly update the data structure, FSTLookup - a machine-based view; build slower, but consumes much less memory at run time (see performance notes below). WFSTLookup - Weighted Automation View: An alternative to FSTLookup for smaller-scale ranking. Solr 3.6+

Could you help me figure this out? Or help me decide which one is right for my requirements?

I need to deploy an assistant similar to Amazon.com, Flipkart, NewEgg with the following specific requirements:

  • An automatic offer with the termination of the term, for example, when I type “xpe”, the consultant should return, xperia, xperia to “Electronics”, “xperia” to PC and laptops (this term can be offered in the category).
  • For the same term, it should also return xperia ray, xperia arc, xperia play, etc. These may be popular searches, listed according to their order of popularity.
  • For the more complete term "xperia u," it should return xperia u, xperia u unlocked, xperia u case, xperia u st25i, etc.
  • completing the full name of the product, when someone writes his "xperia u", he must indicate xperia u android mobile phone - white, xperia u android mobile phone - black ... where offers are the specific name of the product.
    • We also need to filter out the parent category, so when someone selects baby products as a category, he will not list the game xperia or xperia u for xpe. Instead, it may simply not provide offers if there are no offers, or provide those that are only in these categories.

Edit To clarify that in order of popularity, I mean a list of suggested terms by the number of times that actual users use it for search, and not the one that will give more element numbers as results.

I’m sure that this can be done with this, but I’m not sure how to do it with the help of the tester component presented in Solr, and, in particular, which one should be chosen to achieve such proposals. You will be very grateful.

+4
source share

Source: https://habr.com/ru/post/1434531/


All Articles