Hi,

thanks for your answer. I'm getting crazy for this.

No. I did not define any sorting or scoring explicitly. But solr isn't
working with my requestHandler. It complains about sorting on the
content field.
I agree with you. sorting on content wouldn't make much sense. On my
first post i quoted my requestHandler and I don't think it overrides the
scoring. I just want the default behavior which is evidence. If i can,
and I should as i'm using nutch, i'd add the contribution of link
analysis by nutch.

i don't understand what is wrong with my dismax's requestHandler.


Otis Gospodnetic wrote:
> Claudio,
>
> If I understand correctly, the problem is that you are trying to sort on a 
> tokenized text field.  That won't work and for something like "content" field 
> that corresponds to the content of a web page, it doesn't even make much 
> sense.
>
> What you may to do is create another *string* field and in it put only the 
> first N characters from the field like content.  Then sort on that string 
> (untokenized) field.  If N is large enough, you should achieve the same 
> effect as sorting on the content field.
>
>
> Ciao,
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Hadoop ecosystem search :: http://search-hadoop.com/
>
>
>
> ----- Original Message ----
>   
>> From: Claudio Martella <claudio.marte...@tis.bz.it>
>> To: solr-user@lucene.apache.org
>> Sent: Thu, February 11, 2010 4:17:58 AM
>> Subject: sorting
>>
>> Hi,
>>
>> i defined a requestHandler like this:
>>
>>
>>
>>   dismax
>>   title^1.2 contentEN^0.8 contentIT^0.8 contentDE^0.8
>>   title^1.2 contentEN^0.8 contentIT^0.8 contentDE^0.8
>>   title^1.2 contentEN^0.8 contentIT^0.8 contentDE^0.8
>>   0.1
>>
>>
>>
>>
>> content* fields are tokenized. The content comes from nutch. As it is
>> now, solr is complaining about some sorting issues on content* as they
>> are tokenized. From my perspective i have not overridden any scoring or
>> ordering. Have I?
>>
>>
>> As the content comes from nutch with solrindex, what is the best way of
>> integrating result ordering based on the graph-based information, and
>> not only on the score based on query/content?
>>
>> Thanks
>>
>> -- 
>> Claudio Martella
>> Digital Technologies
>> Unit Research & Development - Analyst
>>
>> TIS innovation park
>> Via Siemens 19 | Siemensstr. 19
>> 39100 Bolzano | 39100 Bozen
>> Tel. +39 0471 068 123
>> Fax  +39 0471 068 129
>> claudio.marte...@tis.bz.it http://www.tis.bz.it
>>
>> Short information regarding use of personal data. According to Section 13 of 
>> Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we 
>> process your personal data in order to fulfil contractual and fiscal 
>> obligations 
>> and also to send you information regarding our services and events. Your 
>> personal data are processed with and without electronic means and by 
>> respecting 
>> data subjects' rights, fundamental freedoms and dignity, particularly with 
>> regard to confidentiality, personal identity and the right to personal data 
>> protection. At any time and without formalities you can write an e-mail to 
>> priv...@tis.bz.it in order to object the processing of your personal data 
>> for 
>> the purpose of sending advertising materials and also to exercise the right 
>> to 
>> access personal data and other rights referred to in Section 7 of Decree 
>> 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens 
>> Street n. 19, Bolzano. You can find the complete information on the web site 
>> www.tis.bz.it.
>>     
>
>
>   


-- 
Claudio Martella
Digital Technologies
Unit Research & Development - Analyst

TIS innovation park
Via Siemens 19 | Siemensstr. 19
39100 Bolzano | 39100 Bozen
Tel. +39 0471 068 123
Fax  +39 0471 068 129
claudio.marte...@tis.bz.it http://www.tis.bz.it

Short information regarding use of personal data. According to Section 13 of 
Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we 
process your personal data in order to fulfil contractual and fiscal 
obligations and also to send you information regarding our services and events. 
Your personal data are processed with and without electronic means and by 
respecting data subjects' rights, fundamental freedoms and dignity, 
particularly with regard to confidentiality, personal identity and the right to 
personal data protection. At any time and without formalities you can write an 
e-mail to priv...@tis.bz.it in order to object the processing of your personal 
data for the purpose of sending advertising materials and also to exercise the 
right to access personal data and other rights referred to in Section 7 of 
Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, 
Siemens Street n. 19, Bolzano. You can find the complete information on the web 
site www.tis.bz.it.


Reply via email to