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