Couldn't you just merge all the segments into one, then reindex the one
segment and delete the rest?
Or does reindexing not generate a fresh index, but just adds the new
indexed material the old index (that still contains references to the
old segments)?
Marko Bauhardt wrote:
Am 03.08.2006 um 18:52 schrieb Lourival JĂșnior:
My questions:
Why it occurs? How can I know which segments can be deleted?
You must know which segment are indexed. You can not index all
segments and after that delete these segments.
The Indexer index the name of the segment that the searcher knows
where is the parsed text for a given indexed Term. But the segment
name is only stored. You can not search on a segment name. But you can
write some lines of code that prints the segment names which are
stored in index. After that you know which segment are indexed. But i
think this way is not really cool.
Sorry
Marko