John Wang wrote:

The problem I am having is stated below, I don't know how to add the minDoc and maxDoc values to the index while keeping backward compatibility.

Unfortunately, TermInfo file format just isn't extensible at the moment, so I think for now you'll have to break backward compatibility if you really want to store these new fields in the _X.tis/.tii files.

EG here is another recent example of wanting to alter what's stored in TermInfo:

   https://issues.apache.org/jira/browse/LUCENE-1278

For flexible indexing we clearly need to fix this, so that any "plugin" in the indexing chain could stuff whatever it wants into the TermInfo, and also override how TermInfo is read/written. Even the things we now store in TermInfo should be optional. EG say you choose not to store locations (prx) for a given field. Then, you would not need the long proxPointer.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to