You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/02/02 18:13:34 UTC

[jira] [Commented] (OAK-2469) Restrict the maximum number of terms that will be indexed for a single field

    [ https://issues.apache.org/jira/browse/OAK-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301470#comment-14301470 ] 

Chetan Mehrotra commented on OAK-2469:
--------------------------------------

Applied the patch for now in trunk with http://svn.apache.org/r1656520. If required (based on review comments) the defaults can be changed

> Restrict the maximum number of terms that will be indexed for a single field
> ----------------------------------------------------------------------------
>
>                 Key: OAK-2469
>                 URL: https://issues.apache.org/jira/browse/OAK-2469
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: OAK-2469.patch
>
>
> JR2 used support a {{maxFieldLength}} [1] to limit the numbers of terms indexed per field with default value of 10000. Similar support should be provided in Oak Lucene
> [1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java#L299



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)