Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3028 Support for additional query operators (feature parity request)
  3. SOLR-3101

Add an operator to edismax for word order (Proximity / NEAR)

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • query parsers
    • None

    Description

      A project I'm working on requires word order searching. The users are accustomed to Sphinx search, and expect a query like [ A << B ] to return only documents that contain the term A before the term B.

      I believe this can currently be done with the surround parser (SOLR-2703), but we lack an operator for it. It would be great to add it, so that word order searches can be combined by users into sophisticated queries.

      Note that this should also support a query like [ A << A], which would require that the term be in the document twice (the first instance before the second).

      This issue is part of a meta issue, SOLR-3028, that is requesting two other operators in edismax (quorum search and exact match).

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mlissner Mike Lissner

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment