Hi! I have problem with coding own SearchComponent. My schema.xml is:
... <fieldType name="decimal" class="solr.TrieFloatField" precisionStep="2" omitNorms="true" positionIncrementGap="0" /> ... <field name="price_min" type="decimal" indexed="true" stored="true" multiValued="false" /> ... When I use this value in my code leaves this in log: Jul 28, 2011 4:29:04 PM org.apache.solr.request.UnInvertedField uninvert INFO: UnInverted multi-valued field {field=price_min,memSize=13758712,tindexSize=28852,time=2407,phase1=2398,nTerms=184366,bigTerms=0,termInstances=3248049,uses=0} So it suggest that `price_min` is mutliValue but it isn't and I'm confused. In code those values are also false: SchemaField sf = searcher.getSchema().getField(field); FieldType ft = sf.getType(); sf.multiValued() || ft.multiValuedFieldCache() // is false I don't also understand why for this value is used UnInvertedField. Could anybody explain it to me? I'm confused when I try: FieldCache.StringIndex si = FieldCache.DEFAULT.getStringIndex(searcher.getReader(), fieldName); String termText = si.lookup[si.order[docID]]; And here `termText` is everytime equal to '~' and si.order[docID] is at the end of their array. It would be great to see from someone any helpful idea. -- RafaĆ "RaVbaker" Piekarski.