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

solr, how can I make search query with fixed slop(distance)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5
    • 3.5
    • clients - java
    • None

    Description

      I want to search data within fixed slop in Solr.

      For example, I make search query 'title:+solr +user ~2' for search some data which have 'solr' and 'user' within 2 slops. But it's not working in Solr. I get some parameter, defType=edismax, pf, qs, ps. It's not change the search result, but order.

      If I use Phrase Query just like 'title:"solr user"~2', it can't get the result just like "... users for solr ..." which have not keywords in order.

      How Can I do? Help me.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ourlight ourlight
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: