"it is a final *method*". Can not be overrided at Solr 4.5.1?

2013/11/27 Furkan KAMACI <furkankam...@gmail.com>

> Hi Sujit;
>
> Your example has that line:
>
>  override def decodeNormValue(b: Byte) = 1.0F
>
>
> However it is a final class. Do you have any idea to handle it?
>
>
>
> 2013/11/27 Furkan KAMACI <furkankam...@gmail.com>
>
>> 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
>>> >
>>>
>>
>>
>

Reply via email to