lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: codec="Pulsing" per field broken?
Date Sun, 11 Dec 2011 17:37:33 GMT
On Sun, Dec 11, 2011 at 11:34 AM, eks dev <> wrote:
> on the latest trunk, my schema.xml with field type declaration
> containing //codec="Pulsing"// does not work any more (throws
> exception from FieldType). It used to work wit approx. a month old
> trunk version.
> I didn't dig deeper, can be that the old schema.xml  was broken and
> worked by accident.


The short answer is, you should change this to //postingsFormat="Pulsing40"//

The longer answer is that the Codec API in lucene trunk was extended recently:

Previously "Codec" only allowed you to customize the format of the
postings lists.
We are working to have it cover the entire index segment (at the
moment nearly everything except deletes and encoding of compound files
can be customized).

For example, look at SimpleText now:
As you see, it now implements plain-text stored fields, term vectors,
norms, segments file, fieldinfos, etc.
See (
or LUCENE-3490 for more details.

Because of this, what you had before is now just "PostingsFormat", as
Pulsing is just a wrapper around a postings implementation that
inlines low frequency terms.
Lucene's default Codec uses a per-field postings setup, so you can
still configure the postings per-field, just differently.


View raw message