Distinct values versus schema change?

2010-08-25 Thread Willie Whitehead
Hi, I'm having a problem where a Solr query on all items in one category is returning duplicated items when an item appears in more than one subcategory. My schema involves a document for each item's subcategory instance. I know this is not correct. I'm not sure if I ever tried multiple values

Correct way to use tokenizer for whitespace

2010-03-22 Thread Willie Whitehead
Hi, In my schema.xml, I am trying to remove whitespace from a multivalued field as they come from the database. Is this the correct way: fieldType name=size class=solr.TextField analyzer type=query tokenizer class=solr.StandardTokenizerFactory/ filter

Re: Correct way to use tokenizer for whitespace

2010-03-22 Thread Willie Whitehead
Thank you. I tried that but it did not work to remove trailing spaces. I believe this is why my size facet queries are not working. After reloading, the XML result entries still have: arr name=size strLARGE /str strMEDIUM/str strSMALL /str /arr I am using this: fieldType name=size