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

Synonyms, created in custom filters are ignored after tokenizers.

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.1
    • None
    • None
    • None

    Description

      If a synonym token is added in a custom filter (e.g. this one: http://solr.pl/en/2013/02/04/developing-your-own-solr-filter-part-2/) and the default operator is AND, the query becomes broken, because 2 tokens at the same position becomes required, which is impossible. Solution: place all synonyms in a separate clause and assign these tokens occur=SHOULD.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            alukanin Artem Lukanin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment