Hello again,

 

I believe that this question has been posed before but I just wanted to
make sure I understood my options.  Here's the situation:

 

We have a few fields that are specified as 'text' and a few field that
are specified as 'string'.  As far as I understand, 'string' will do
exact matches whereas 'text' will do tokenized/contains matches.
However, we have a need to do exact matches on the 'text' field as well.

 

I believe I've seen two approaches for this problem:

1.       Using a copyField configuration and copy the 'text' field to a
'string' field.  Then use the string field when exact matches are
needed.

2.       Append something like '_start_' and '_end_' to the field at
index and search time for exact matches.

 

Are there any solutions to this problem that don't require creating
another field or modifying the data?  (i.e. some sort of query filter?)

 

Thanks,
Laurent

Reply via email to