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

Use default codec for fulltext index

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: lucene
    • Labels:
      None

      Description

      Currently OakCodec is used by default if full text indexing is enabled for that index. OakCodec disables compression and was done as performance issues were observed around 1.0 release (See OAK-1737).

      Post 1.0 we introduced CopyOnRead which should provide better performance even with compression enabled. We should revisit the usage of OakCodec by default to see if with default code we get comparable performance or not and hence get benefit of smaller index size.

      Changing the default would require change in index format version as this change would not be compatible to default

      Note that one can still change codec by specifying codec value for index config to the code name like Lucene46

        Attachments

        1. OAK-2853.patch
          5 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: