Re: Enabling other SimpleText formats besides postings

2014-03-31 Thread Ken Krugler
Hi all (and particularly Uwe and Robert), On Mar 28, 2014, at 7:24am, Michael McCandless luc...@mikemccandless.com wrote: You told the fieldType to use SimpleText only for the postings, not all other parts of the codec (doc values, live docs, stored fields, etc...), and so it used the

Re: Enabling other SimpleText formats besides postings

2014-03-31 Thread Erik Hatcher
On Mar 31, 2014, at 4:02 PM, Ken Krugler kkrugler_li...@transpac.com wrote: Hi all (and particularly Uwe and Robert), On Mar 28, 2014, at 7:24am, Michael McCandless luc...@mikemccandless.com wrote: You told the fieldType to use SimpleText only for the postings, not all other parts of

Re: Enabling other SimpleText formats besides postings

2014-03-31 Thread Shawn Heisey
On 3/31/2014 2:36 PM, Erik Hatcher wrote: Not currently possible. Solr’s SchemaCodecFactory only has a hook for postings format (and doc values format). Erik Would it be a reasonable thing to develop a config structure (probably in schema.xml) that starts with something like codec

Re: Enabling other SimpleText formats besides postings

2014-03-31 Thread Ken Krugler
Hi Erik ( Shawn), On Mar 31, 2014, at 1:48pm, Shawn Heisey s...@elyograg.org wrote: On 3/31/2014 2:36 PM, Erik Hatcher wrote: Not currently possible. Solr’s SchemaCodecFactory only has a hook for postings format (and doc values format). OK, thanks for confirming. Would it be a reasonable

Enabling other SimpleText formats besides postings

2014-03-28 Thread Ken Krugler
Hi all, I've been using the SimpleTextCodec in the past, but I just noticed something odd… I'm running Solr 4.3, and enable the SimpleText posting format via something like: fieldType name=date class=solr.DateField postingsFormat=SimpleText / The resulting index does have the expected

Re: Enabling other SimpleText formats besides postings

2014-03-28 Thread Michael McCandless
You told the fieldType to use SimpleText only for the postings, not all other parts of the codec (doc values, live docs, stored fields, etc...), and so it used the default codec for those components. If instead you used the SimpleTextCodec (not sure how to specify this in Solr's schema.xml) then