@mark, @otis:
yeah copying all the fields to one text field will work but what if i want
to assign specific weightage to specific fields?

e.g. i have a three fields

1) title
2) tags
3) description

i copied all of them to a new field called "all_text".

now i want to search in all the fields with weightage assigned to title^4,
tags^2, description^1

how it'll work then?

another question: how weightage is considered ?

is it a multiplication to scores of terms in fields ...

ex. terms in title * 4, terms in tags * 2


thanks!
mani


On Wed, Jul 15, 2009 at 5:33 PM, Mark Miller <markrmil...@gmail.com> wrote:

> Jörg Agatz wrote:
>
>> Hallo Users...
>> And good Morning, in germany it is morning :-)
>>
>> I have a realy important Prroblem...
>>
>> My Fields are realy Bad.. Like
>> "CUPS_EBENE1_EBENE2_TASKS_CATEGORIE"
>>
>> I have no Content field ore somthing like this...
>> So when i will search somthing, i need to search in ALL fields, but when i
>> search "*:test" it dosent Work,
>> And when i put "*" in the defaultSearchField" it dosent Work too
>>
>> How i can Search in ALL fields?
>>
>>
>>
> Good morning! Its morning in Connecticut USA now ;)
>
> Check out: http://wiki.apache.org/solr/DisMaxRequestHandler
>
> You can specify multiple fields with the qf param.
>
> Also see CopyFields:
> http://wiki.apache.org/solr/SchemaXml#head-586f22933e9952e9130029e14aaf0b9718b917c4
>
> CopyFields let you copy the value from multiple fields to a single field
> during indexing. It doesn't show it at that spot on the wiki (it prob
> should), but you can use * in the names, eg
>
> <copyField source="*" dest="all_fields"/>
>
> Looks at the example schema for more examples.
>
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
>

Reply via email to