Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17393

Solr Suggester not working as expected for collection with multiple shards(distributed search)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.2.1
    • None
    • Suggester

    Description

      Noticed that solr suggester is not rendering results in correct order for a collection with multiple shards defined with below config - 

      lookupImpl - AnalyzingLookupFactory

      dictionaryImpl - DocumentDictionaryFactory

      For Example - for a given search term say 'TEST', below query for a collection named 'COLLECTION' with multiple shards is not rendering search results in correct order i.e closest match to search term is not showing up in top. However, if the collection is configured as single shard, working correctly.

      https://<SOLR_HOST>/<COLLECTION>/suggest?indent=true&suggest.q=TEST&suggest.lookupImpl=AnalyzingLookupFactory

      Example scenario -

      For a collection with 5 documents say with terms TEST, TEST123, TEST_123, TEST1234, TESTING, we expect top search result to be as TEST however we are noticing different inconsistent results every time suggest is built against a collection with multiple shards.

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rama99 Rakesh Mandanapu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: