Re: Multivalued fields question

2011-11-03 Thread Travis Low
Thanks much, Erick. Between your explanation, and what I read at http://lucene.472066.n3.nabble.com/positionIncrementGap-in-schema-xml-td488338.html, the utility of multiValued fields is clear. On Thu, Nov 3, 2011 at 8:26 AM, Erick Erickson wrote: > multiValued has nothing to do with how many to

Re: Multivalued fields question

2011-11-03 Thread Erick Erickson
multiValued has nothing to do with how many tokens are in the field, it's just whether you can call document.add("field1", val1) more than once on the same field. Or, equivalently, in input document in XML has two entries with the same name="field" entries. So it strictly depends upon whether you

Multivalued fields question

2011-11-01 Thread Travis Low
Greetings. We're finally kicking off our little Solr project. We're indexing a paltry 25,000 records but each has MANY documents attached, so we're using Tika to parse those documents into a big long string, which we use in a call to solrj.addField("relateddoccontents", bigLongStringOfDocumentCon