Hello list,

I have a corpus with 3 languages, so i setup a text content field (with
no stemming) and 3 text-[en|it|de] fields with specific snowball stemmers.
i copyField the text to my language-away fields. So, I setup this dismax
searchHandler:

<requestHandler name="content" class="solr.SearchHandler" default="true">
<lst name="defaults">
   <str name="defType">dismax</str>
   <str name="pf">title^1.2 content-en^0.8 content-it^0.8
content-de^0.8</str>
   <str name="bf">title^1.2 content-en^0.8 content-it^0.8
content-de^0.8</str>
   <str name="qf">title^1.2 content-en^0.8 content-it^0.8
content-de^0.8</str>
   <float name="tie">0.1</float>
</lst>
</requestHandler>


but i get this error:

HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Expected
',' at position 7 in 'content-en'

type Status report

message org.apache.lucene.queryParser.ParseException: Expected ',' at
position 7 in 'content-en'

description The request sent by the client was syntactically incorrect
(org.apache.lucene.queryParser.ParseException: Expected ',' at position
7 in 'content-en').

Any idea?

TIA

Claudio

-- 
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