Whoa! You've suddenly changed from asking about querying to DIH. I'll leave DIH to people who understand that way better than I do.
As for the rest, you won't be able to boost by the values even after you do get them in a multiValued field, so I think you'll have problems as you try to carry this forward. Best Erick On Sat, Aug 31, 2013 at 10:36 AM, danielitos85 <danydany....@gmail.com>wrote: > Thanks Erick, but think if I have an simple float value and not distance. > > I have a situation like this: > > - id: 1 > - myText: ["iphone", "ipad", "macbook"] > - myFieldFloat: [3.4,2.1,5.3] > > I want to set the value of myFieldFloat at his respective myText. > > I tried this: > > <entity name="item" > query="SELECT myText, > myFloatValue > FROM myTable > WHERE myCondition" > > > <field name="myText" column="myText" boost="${item.myFloatValue}" /> > > but it return an error: > org.apache.solr.handler.dataimport.DataImportHandlerException: Data Config > problem: For input string: "{$places.distance_place}" > at > > I also tried to set in my query a Cast, but the same error: > > SELECT myText, > CAST(myFloatValue AS DECIMAL(10,6)) as myFloatValue > FROM myTable > WHERE myCondition > > please, any suggests? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Change-the-score-of-a-document-based-on-the-value-of-a-multifield-tp4087503p4087663.html > Sent from the Solr - User mailing list archive at Nabble.com. >