Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4516

Configurable option to lucene index defs to index original (unanalyzed value as well)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.19, 1.4.7, 1.5.5, 1.6.0
    • lucene
    • None

    Description

      It's sometimes useful to have original value being indexed to be stored as a term. One use-case could be like:

      • consider a couple of values to be indexed as abc_def, abcdef
      • On query, it seems reasonable to get both values for a query for abc*
      • On query, at times, it might be useful to expect abc_def for abc_d* or abc_*

      Currently, the values would get indexed like:

      • abc_def -> [abc], [def]
      • abcdef -> [abcdef]
        So, the query abc* would only fetch abcdef, while abc_d* or abc_* won't fetch anything.

      Attachments

        1. OAK-4516.patch
          10 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: