Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-3253

Set omit term freq positions flag on parent field in the index

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: indexing
    • Labels:
      None

      Description

      The flag to omit term frequencies is set to true by default and it is not changed by any of the constructors on the Field class.
      We don't use this info in the index anyway, so it is safe to remove it.

      The index size gain for 130K nodes (3 leves, ~50 nodes per level) is around 150kb for a 30mb index.

        Activity

        Alex Parvulescu created issue -
        Alex Parvulescu made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.6 [ 12319480 ]
        Resolution Fixed [ 1 ]
        Alex Parvulescu made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Alex Parvulescu [ alex.parvulescu ]
        Alex Parvulescu made changes -
        Comment [ the patch was insufficient, I missed some norm creation code ]
        Alex Parvulescu made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Fix Version/s 2.5 [ 12319280 ]
        Fix Version/s 2.6 [ 12319480 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Alex Parvulescu
            Reporter:
            Alex Parvulescu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development