This is just adding the field repeatedly, something like <doc> <field name="companiesdata"> IBM Corporation some information</field> <field name="companiesdata>more information</field> <field name="companiesdata>IBM limited more info</field> <field name="companiesdata>and some more data</field> </doc>
The increment gap will be added between each pair of <field> entries that use the same name. One slight issue with the above is that the gap would be added between the second and third entries, you'd have to combine them into a single entry if this isn't what you want. Best Erick On Tue, Jan 17, 2012 at 9:28 AM, marotosg <marot...@gmail.com> wrote: > Hi. > > At the moment I have a multivalued field where i would like to add > information with gaps at the end of every line in the multivalued field and > I would like to add gaps as well in the middle of the lines. > > For instance > <field name="CompaniesData" type="text" indexed="true" stored="true" > multiValued="true"/> > > <arr name="CompaniesData"> > <str> > IBM Corporation some information *"here a gap"* more information > </str> > <str> > IBM Limited more info "here a gap" and some more data > </str> > </arr> > > Do you know how to add a *positionincrementgap* here *"here a gap"* > Thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/PositionIncrementGap-inside-a-field-tp3666243p3666243.html > Sent from the Solr - User mailing list archive at Nabble.com.