lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renaud Delbru <renaud.del...@deri.org>
Subject Re: Flex & Docs/AndPositionsEnum
Date Tue, 09 Feb 2010 16:35:55 GMT
On 09/02/10 16:04, Michael McCandless wrote:
> On Tue, Feb 9, 2010 at 9:08 AM, Renaud Delbru<renaud.delbru@deri.org>  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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message