Thanks Erlen for your hints!

2012/10/9 Erlend Garåsen <[email protected]>:
> On 09.10.12 14.19, Maciej Liżewski wrote:
>>>
>>> Google does a guessing about the query language. If you hit
>>> www.google.com,
>>> you will be redirected to www.google.pl if you're sitting in Poland. This
>>> may also be achieved in your application by detecting the browser's
>>> locale
>>> etc. Many web application frameworks have support for this. Then you may
>>> give (at query time) a higher boost to the fields belonging to the
>>> language
>>> detected.
>>
>>
>> ...but even when searching in google.pl I will get results in any
>> language if only it match my query :)
>
>
> Yes, but what I suggested was to use a higher boost value for the Polish
> search fields if Polish was the detected language. This can be done by
> specifying the boost value in your query for these fields. You will still
> search the English fields as well, but the boost value for the Polish fields
> are higher. And vice versa.
>
>
>> anyway - thanks for your help (both of you). Reading your answers and
>> googling let me achieve desired efect. What really I needed was dismax
>> and searching multiple fields.
>> one more time - sorry for bothering.
>
>
> Use edismax instead. This opens up for nice features you would like to use,
> for instance give higher rank to newer documents:
> http://wiki.apache.org/solr/ExtendedDisMax
>
> Good luck!
>
>
> Erlend
>
> --
> Erlend Garåsen
> Center for Information Technology Services
> University of Oslo
> P.O. Box 1086 Blindern, N-0317 OSLO, Norway
> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050

Reply via email to