I don't find MultipleTermPositions in svn

by Peter Wilkinson 2010-06-27T19:14:50+00:00
This is dumb, I know, but I don't find a MultipleTermPositions.java file under org.apache.lucene.index in the svn trunk. Will someone on the list have mercy on me and tell me what obvious thing I'm missing? I know it's there somewhere.
/peter

RE: I don't find MultipleTermPositions in svn

by Uwe Schindleron 2010-06-27T19:27:08+00:00.
Trunk (aka 4.0) has a complete new API so lots of classes changed/replaced.
If you want 3.x, use the corresponding branch!

Re: I don't find MultipleTermPositions in svn

by Peter Wilkinson 2010-06-28T00:46:54+00:00.
Uwe:
Thanks for the answer to my question. If the API has changed, is there a document describing a mapping from v3.x to v4.x, or perhaps an online discussion of the changes? It sounds like the change to v4.x will be dramatic!
Regards,
Peter

Re: I don't find MultipleTermPositions in svn

by Robert Muiron 2010-06-28T01:13:07+00:00.
On Sun, Jun 27, 2010 at 8:46 PM, Peter Wilkins wrote:
There is such a guide, see lucene/migration.txt... in this case i think you
are interested in docsandpositionsenum... you can look at multiphrasequery
for a similar example, it has a uniondocsandpositionsenum inside it.

Re: I don't find MultipleTermPositions in svn

by Michael McCandlesson 2010-07-04T17:05:00+00:00.
Hmm it looks like we should move UnionDocsAndPositionsEnum out of
MultiPhraseQuery, into oal.index, and make it public (like
MultipleTermPositions is in 3.x). And note this in MIGRATE.txt.
I'll open an issue...
Mike
>