Hi - they are indexed by default but can be omitted since 3.4:
http://wiki.apache.org/solr/SchemaXml#Common_field_options
-Original message-
> From:KnightRider
> Sent: Tue 07-May-2013 14:41
> To: solr-user@lucene.apache.org
> Subject: Solr 1.4 - Proximity Search - Where is configuration for storing
> positions?
>
> I have an index built using Solr 1.4 with one field.
> I was able to run proximity search (Ex: word1 within5 word2) but no where in
> the configuration I see any information about storing/indexing the positions
> or offsets of the terms.
>
> My understanding is that we need to store/index termvectors
> positions/offsets for proximity search to work.
>
> Can someone please tell if positions are indexed by default in Solr 1.4?
>
> FYI, Here is the configuration of field in schema.xml
> (to keep it simple I am only adding fieldType and field definition from
> schema.xml here)
>
> omitNorms="true"
> sortMissingLast="true">
>
> class="solr.StandardTokenizerFactory" />
> />
> enablePositionIncrements="true"
> ignoreCase="true" words="stop-words.txt" />
>
>
>
> type="string" />
>
> Thanks
> -kRider
>
>
>
> -
> Thanks
> -K'Rider
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-1-4-Proximity-Search-Where-is-configuration-for-storing-positions-tp4061315.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>