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 <[email protected]> wrote: > Thanks Mike! > > But, how can i configure IndexWriter (4.6) to use theses codecs? > > Thanks > Marcio > > > 2014/1/22 Michael McCandless <[email protected]> > >> 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 <[email protected]> >> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
