On Thu, Dec 16, 2010 at 4:03 PM, Burton-West, Tom <tburt...@umich.edu> wrote:
>>>Your setting isn't being applied to the reader IW uses during
>>>merging... its only for readers Solr opens from directories
>>>explicitly.
>>>I think you should open a jira issue!
>
> Do I understand correctly that this setting in theory could be applied to the 
> reader IW uses during merging but is not currently being applied?
>
> <indexReaderFactory name="IndexReaderFactory" 
> class="org.apache.solr.core.StandardIndexReaderFactory">
>    <int name="termInfosIndexDivisor">8</int>
>  </indexReaderFactory >

Yes.

> I understand the tradeoffs for doing this during searching, but not the 
> trade-offs for doing this during merging.  Is the use during merging the 
> similar to the use during searching?
>
>  i.e. Some process has to look up data for a particular term as opposed to 
> having to iterate through all the terms?
>  (Haven't yet dug into the merging/indexing code).

It's not used during merging, only for applying deletes.  But, yes, we
do a lookup of the Term (or Terms inside Query, if you
delete-by-Query) from the terms index.

Mike

Reply via email to