Just create your own Codec, or override the default one's
getPostingsFormatForField, to return FSTPostingFormat.

Then set that Codec on the IndexWriterConfig you pass to IndexWriter.

Mike McCandless

http://blog.mikemccandless.com


On Wed, Jan 22, 2014 at 10:54 AM, Marcio Napoli <napoli.mar...@gmail.com> wrote:
> Thanks Mike!
>
> But, how can i configure IndexWriter (4.6) to use theses codecs?
>
> Thanks
> Marcio
>
>
> 2014/1/22 Michael McCandless <luc...@mikemccandless.com>
>
>> Hi,
>>
>> That was committed to trunk only (5.0) so fat, and is available under
>> the "codecs" module, under org.apache.lucene.codecs.memory.*
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Wed, Jan 22, 2014 at 6:38 AM, Marcio Napoli <napoli.mar...@gmail.com>
>> wrote:
>> > Hey! :)
>> >
>> > How could i use this new reader/writer ?
>> >
>> > https://issues.apache.org/jira/browse/LUCENE-3069
>> >
>> > Thanks,
>> > Marcio
>> >
>> > Go beyond Luceneā„¢ features with NumereĀ®
>> > http://numere.stela.org.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>>

---------------------------------------------------------------------
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