Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
The extra codecs are supplied in a separate jar file now (lucene-codecs-4.0.0.jar) - I guess this isn't being packaged into solr.war by default? You should be able to download it here:

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Shawn Heisey
On 10/15/2012 2:47 AM, Alan Woodward wrote: The extra codecs are supplied in a separate jar file now (lucene-codecs-4.0.0.jar) - I guess this isn't being packaged into solr.war by default? You should be able to download it here:

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
This should not be required, because I am building from source. I compiled Solr from lucene-solr source checked out from branch_4x. I grepped the entire tree for lucene-codec and found nothing. It turns out that running 'ant generate-maven-artifacts' created the jar file -- along

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
See discussion on https://issues.apache.org/jira/browse/SOLR-3843, this was apparently intentional. That also links to the following: http://wiki.apache.org/solr/SolrConfigXml#codecFactory, which suggests you need to use solr.SchemaCodecFactory for per-field codecs - this might solve your

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Shawn Heisey
On 10/15/2012 12:38 PM, Alan Woodward wrote: See discussion on https://issues.apache.org/jira/browse/SOLR-3843, this was apparently intentional. That also links to the following: http://wiki.apache.org/solr/SolrConfigXml#codecFactory, which suggests you need to use solr.SchemaCodecFactory

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-14 Thread Walter Underwood
There is a bit more info in this post, look for alternative codecs: http://searchhub.org/dev/2012/10/12/apache-solr-and-lucene-4-0-0-released/ wunder On Oct 13, 2012, at 10:46 PM, Shawn Heisey wrote: The wiki page for schema.xml shows the syntax for postingsFormat in a schema fieldType

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-14 Thread Shawn Heisey
On 10/14/2012 12:19 AM, Walter Underwood wrote: There is a bit more info in this post, look for alternative codecs: http://searchhub.org/dev/2012/10/12/apache-solr-and-lucene-4-0-0-released/ If I were to add this to the Solr wiki as potential options under postingsFormat, would it be

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-14 Thread Shawn Heisey
On 10/14/2012 12:19 AM, Walter Underwood wrote: There is a bit more info in this post, look for alternative codecs: http://searchhub.org/dev/2012/10/12/apache-solr-and-lucene-4-0-0-released/ I'm running on branch_4x checked out yesterday at 13:59 MDT. I tried postingsFormat=Block and

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-14 Thread Rafał Kuć
Hello! Try adding the following to solrconfig.xml: codecFactory class=solr.SchemaCodecFactory/ -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch On 10/14/2012 12:19 AM, Walter Underwood wrote: There is a bit more info in this post, look for

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-14 Thread Shawn Heisey
On 10/14/2012 3:21 PM, Rafał Kuć wrote: Hello! Try adding the following to solrconfig.xml: codecFactory class=solr.SchemaCodecFactory/ I did this and got a little further, but still no go. From what it's saying now, I don't think it will be possible in the current state of branch_4x to

Solr4 - no examples of postingsFormat in schema.xml

2012-10-13 Thread Shawn Heisey
The wiki page for schema.xml shows the syntax for postingsFormat in a schema fieldType definition, but it doesn't tell you what to use for the value. Also, the example configs in the solr download do not include this parameter. http://wiki.apache.org/solr/SchemaXml#Data_Types For some