Hello deniz,

You could create a new field say FullName which is a <copyfield> of
firstname and surname. Search on both the new field and location but boost
up the new field query.

Regards
Aditya
www.findbestopensource.com



On Thu, May 5, 2011 at 9:21 AM, deniz <denizdurmu...@gmail.com> wrote:

> okay... let me make the situation more clear... I am trying to create an
> universal field which includes information about users like firstname,
> surname, gender, location etc. When I enter something e.g London, I would
> like to match any users having 'London' in any field firstname, surname or
> location. But if it matches name or surname, I would like to give a higher
> weight.
>
> so my question is... is it possible to have sub-fields? like
> <field name="universal">
>   <field name="firstname">blabla</field>
>   <field name="surname">blabla</field>
>   <field name="gender">blabla</field>
>   <field name="location">blabla</field>
> </field>
>
> or any other ideas for implementing such feature?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Is-it-possible-to-use-sub-fields-or-multivalued-fields-for-boosting-tp2901992p2901992.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to