On 09/02/10 16:04, Michael McCandless wrote:
On Tue, Feb 9, 2010 at 9:08 AM, Renaud Delbru<[email protected]>  wrote:
So, does it mean that the codec interface is likely to change ? Do I need to
be prepared to change again all my code ;o) ?
This particular patch doesn't change the Codecs API -- it "only"
factors out the Multi* APIs from MultiReader.  Likely you won't need
to change your codec... but try applying the patch and see :)
Ok, good news ;o).
However: if you consume the flex API directly, on top of multi readers
(something you shouldn't do, for performance reasons), you will have
to use MultiField's static methods to get the enums.
In my previous example (registering my codec in IndexWriter, and then use IndexReader), do I consume the flex API directly on top of the multi-readers directly ? If yes, how to avoid that ?

Cheers
--
Renaud Delbru

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to