« Return to Thread: [jira] Created: (LUCENE-1718) IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers

[jira] Commented: (LUCENE-1718) IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


    [ https://issues.apache.org/jira/browse/LUCENE-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727791#action_12727791 ]

Tim Smith commented on LUCENE-1718:
-----------------------------------

perfect

i had checked your last patch on LUCENE-1609 and hadn't seen any explicit handling of this situation yet, so just wanted to call it out

> IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-1718
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1718
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9
>
>
> When you reopen a reader, some segments are shared (and thus properly inherit the index divisor) but others are newly opened and use the default index divisor.  You then have no way to change the index divisor of those newly opened ones.  The only workaround is to not use reopen (always open a new reader).
> I'd like to make termInfosDivisor an up-front param to IndexReader, anyway, for LUCENE-1609, so likely I'll fix both of these issues there.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@...
For additional commands, e-mail: java-dev-help@...

 « Return to Thread: [jira] Created: (LUCENE-1718) IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers