No, there should be only one field search:
field1:DE123

and then based on the config of a FilterFactory Solr will also search in 
field2 based on a synonym list.
But also field1 should be search with DE123

cheers
Charlie

Am 04.06.11 17:34, schrieb lee carroll [via Lucene]:
> I'm not sure if this is what you mean:
> copy field1 to field2 and for field 2 apply your analysis chain with
> your synonym list
>
> query something like field1:DE123 and field2:DE123
>
> or have i missed the point, if so can you clarify your use case
>
> cheers lee c
>
> On 4 June 2011 08:44, occurred <[hidden email] 
> </user/SendEmail.jtp?type=node&node=3023443&i=0>> wrote:
>
> > Hello,
> >
> > a query will be like this:
> >
> > field1:(DE123)
> >
> > my synonyms are:
> > DE123 => 123,456,789
> >
> > then SOLR should search in field1 for DE123 and in another specified 
> field
> > for the synonyms so for example:
> > in field2 for 123 OR 456 OR 789
> >
> > is this somehow possible?
> >
> > cheers
> > Charlie
> >
> > --
> > View this message in context: 
> http://lucene.472066.n3.nabble.com/Search-with-Synonyms-in-two-fields-tp3022534p3022534.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://lucene.472066.n3.nabble.com/Search-with-Synonyms-in-two-fields-tp3022534p3023443.html
>  
>
> To unsubscribe from Search with Synonyms in two fields, click here 
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3022534&code=c2NoYXVibWFpckBpbmZvZGllbnN0LWF1c3NjaHJlaWJ1bmdlbi5kZXwzMDIyNTM0fDUxNjgwOTg4>.
>  
>


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-with-Synonyms-in-two-fields-tp3022534p3024166.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to