Thanks Sujit, I got the problem and fixed it.
2013/11/26 Sujit Pal <sujit....@comcast.net> > Hi Furkan, > > In the stock definition of the payload field: > > http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup > > the analyzer for payloads field type is a WhitespaceTokenizerFactory > followed by a DelimitedPayloadTokenFilterFactory. So if you send it a > string "foo$score1 bar$score2 ..." where foo and bar are string tokens and > score[12] are payload scores and "$" is your delimiter, the analyzer will > tokenize it into multiple payloads and you should be able to run the tests > in the blog post. So you shouldn't make it multiValued AFAIK. > > -sujit > > > > On Tue, Nov 26, 2013 at 8:44 AM, Furkan KAMACI <furkankam...@gmail.com > >wrote: > > > Hi; > > > > I've ported this example from Scala into Java: > > http://sujitpal.blogspot.com/2013/07/porting-payloads-to-solr4.html#! > > > > However does field should be multivalued true at that example? > > > > PS: I use Solr 4.5.1 > > > > Thanks; > > Furkan KAMACI > > >