Hello thank you for your response, the field3 was well defined, I just forgot to reindex my data.
Regards Sophie Grant Ingersoll-6 wrote: > > > On Oct 19, 2009, at 7:21 AM, sophSophie wrote: > >> >> Hello, >> >> firstly sorry for my english :) >> >> Since last Friday I try to define in shema.xml a new field that is the >> concatenation of two other fields. >> >> So in schemal.xml I have these fields : >> >> <field name="field1" type="string" indexed="true" stored="true"/> >> <field name="field2" type="string" indexed="true" stored="true"/> >> >> <defaultSearchField>field3</defaultSearchField> >> >> <copyField source="field1" dest="field3"/> >> <copyField source="field2" dest="field3"/> >> >> In my .csv file date are stored like that : >> >> field1 ; field2 >> toto ; titi >> >> In my mind field3 should store the string "toto titi". >> >> When I make the query "toto titi" I want solr to return the correct >> result >> but Solr returns nothing. > > How is Field3 defined? And is that a phrase query or are you just > using quotes for separation/emphasis? > > -Grant > > -- View this message in context: http://www.nabble.com/Concatening-two-fields-tp25956649p25988270.html Sent from the Solr - User mailing list archive at Nabble.com.