Re: Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Grant Ingersoll
And, for Term Vectors, add termVectors="true" to the field declaration, as in (from solr/example/solr/conf/schema.xml): multiValued="true" omitNorms="true" termVectors="true" /> And, if you want positions and offsets: multiValued="true" termVectors="true" termPositions="true" termOffsets

Re: Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Erik Hatcher
On Mar 2, 2009, at 11:31 AM, Rakesh Sinha wrote: I created a new field type as - My understanding is that - the default type - string does not seem to be tokenized ( since 2.9 - it is analyzed ). How do I make the field to be TOKENIZED ( since Lucene 2.9, it is ANALYZED ) with TermV

Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Rakesh Sinha
I am in the process of porting a Lucene code to Solr. I checked the wiki at - http://wiki.apache.org/solr/SchemaXml for the common porting instructions. But I have a specific query with respect the following line of code, about creating a field / fieldType in Solr Lucene: return new Field(St