Re: Modification of positional information encoding

2008-10-15 Thread Michael McCandless
Renaud Delbru wrote: Hi Michael, Michael McCandless wrote: Also, this issue was just opened: https://issues.apache.org/jira/browse/LUCENE-1419 which would make it possible for classes in the same package (oal.index) to use their own indexing chain. With that fix, if you make your ow

Re: Modification of positional information encoding

2008-10-14 Thread Renaud Delbru
Hi Michael, Michael McCandless wrote: Also, this issue was just opened: https://issues.apache.org/jira/browse/LUCENE-1419 which would make it possible for classes in the same package (oal.index) to use their own indexing chain. With that fix, if you make your own classes in oal.index pa

Re: Modification of positional information encoding

2008-10-13 Thread Renaud Delbru
Hi, Michael McCandless wrote: This looks right, though you would also need to modify SegmentMerger to read & write your new format when merging segments. Another thing you could do is grep for "omitTf" which should touch exactly the same places you need to touch. Ok, thanks for the pointers.

Re: Modification of positional information encoding

2008-10-13 Thread Michael McCandless
Renaud Delbru wrote: Hi, We are trying to modify the positional encoding of a term occurrence for experimentation purposes. One solution we adopt is to use payloads to sotre our own positional information encoding, but with this solution, it becomes difficult to measure the increase or

Modification of positional information encoding

2008-10-13 Thread Renaud Delbru
Hi, We are trying to modify the positional encoding of a term occurrence for experimentation purposes. One solution we adopt is to use payloads to sotre our own positional information encoding, but with this solution, it becomes difficult to measure the increase or decrease of index size. It