Re: SearcherTaxonomyManager Refreshing

2017-08-27 Thread Sidhant Aggarwal
No i always rebuild the index again and then replace the directories. So its insured that the main index and taxo index are always in sync. Its just that i cant reopen both of them. On Aug 24, 2017, at 09:11 AM, Jigar Shah wrote: Looks like your approach to manage main index and taxonomy inde

Re: SearcherTaxonomyManager Refreshing

2017-08-24 Thread Jigar Shah
Looks like your approach to manage main index and taxonomy index is risky. Main index keeps ordinals of taxonomy index. if you replace directories then taxo reader might have ordinals off-sync from main index. One fact about taxonomy index is on deletes or cleanup of main index, dosen't affect ta

SearcherTaxonomyManager Refreshing

2017-08-24 Thread Sidhant Aggarwal
Hi, To manage my indexes I am using the SearcherTaxonomyManager. But the way in changing the indexes is slightly different. Say i have my main search index in /index directory and my taxonomy index in /taxo directory. So periodically i just replace these two directories with newer indexes. Aft