Hello,

My lucene Index is built and stored in a zip file (uncompressed) which is used as a read-only Directory.

1) At lucene indexing time, is it possible to rewrite the index so that some fields are only found in some segments
Say :

EnglishWords, EnglishVerbs go to Segment 1
GermanWords, GermanSentences go to Segment 2
French, frenchWines go to Segment 3
...

2) In what file is the index structure written (number of index, docValues...) ? And, is it possible, to tamper in some way with this Say, in a Directory implementation...at start of my application, to tell the lucene index to use this segment or not


3) At lucene indexing time, is it possible to remap the docId values (I saw some MergeState.mapDocId method...)
Say
 0 -> 4
 1 -> 3
 2 -> 1
 3 -> 0
 4 -> 2



If 1, 2 were possible, I think that it would allow me to ship my index in a modular way in my apps (with language packs)
and do join queries as regular queries, with no speed penalty

If 3 is possible, It would allow me to have some sort of forward/backward compatibilities with my shipped language packs
and also to have fast implementations for some id related methods

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to