How big is the fnm file? While you may be technically correct, I'm not
sure it would be worth the effort, I rather expect this file to be
quite small.

Are you seeing a performance issue or is this more in the theoretical realm?

Best,
Erick

On Tue, May 6, 2014 at 1:23 PM, googoo <liu...@gmail.com> wrote:
> I check implementation.
>
> in SegmentMerger.mergeFieldInfos
>
>   public void mergeFieldInfos() throws IOException {
>     for (AtomicReader reader : mergeState.readers) {
>       FieldInfos readerFieldInfos = reader.getFieldInfos();
>       for (FieldInfo fi : readerFieldInfos) {
>         fieldInfosBuilder.add(fi);
>       }
>     }
>     mergeState.fieldInfos = fieldInfosBuilder.finish();
>   }
>
> we do not check if the field still use in new documents.
> We just add all existing fields to new segments field.
>
> Will we fix this issue?
>
> Thanks,
> Yongtao
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/solr-optimize-on-fnm-file-tp4134969p4134972.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to