lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonello Mangone <antonello.mang...@gmail.com>
Subject Re: schema.xml question
Date Fri, 07 May 2010 21:04:37 GMT
It's seems like a copyField but is a group that I want ... and in your
version is not a group, I want the possibility to search in a group of field
using "AND" or "OR"

2010/5/7 Chris Hostetter <hossman_lucene@fucit.org>

>
> : <group name="group_name">
> :     <field name="a" type="..... />
> :     <field name="b" type="..... />
> :     <field name="c" type="..... />
> : </group>
> :
> : <defaultSearchField>group_name</defaultSearchField>
>
> at first glance, it seems like what you want is to use copyField...
>
> <field name="a" ... />
> <field name="b" ... />
> <field name="c" ... />
> <field name="group_name" ... />
> ...
> <copyField src="a" dest="group_name" />
> <copyField src="b" dest="group_name" />
> <copyField src="c" dest="group_name" />
> <defaultSearchField>group_name</defaultSearchField>
>
>
>
>
> -Hoss
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message