In addition to Jo

On Thu, Mar 31, 2011 at 2:43 PM, Jonathan Rochkind <rochk...@jhu.edu> wrote:
> There is no configuration.
>
> If:
> 1) you index your records as type String, with no analysis
> 2) You always do phrase searches in your query, surround it with double
> quotes. (Neccesary because otherwise queries with spaces in them won't be
> passed intact to the field for matching). (Alternately use the 'field' or
> 'raw' query parsers, or that other new one that will be in solr 3.1 that i
> forget the name of).
>
> Then I believe it will work how you say you want, only matching on _exact_
> matches.   I think, try it out. But beware that 'exact' here will REALLY
> mean 'exact' -- same case, exact same punctuation and spacing, exact same
> bytes. (Same serialization for unicode that can be serialized to several
> different valid byte representations in UTF8, etc)
>
> On 3/31/2011 2:17 PM, Tejinder Rawat wrote:
>>
>> Hi All,
>>
>>
>>
>> I have many documents indexed based on a field having value “anniversary”.
>>
>>
>>
>> Also there is a redirect term which is having “anniversary” inside this.
>> E.g. below:
>>
>>
>>
>> ------------------
>>
>>     <field name="docType_meta_s">termRedirect</field>
>>
>>    <field
>> name="redirectUri_meta_s">/product/silver+25th+anniversary.do</field>
>>
>>     <field name="redirectTerms_en_us_meta_mv_t">25th anniversary</field>
>>
>> ------------------
>>
>>
>>
>> Now for any search based on “anniversary”, I am getting the redirection to
>> above uri. I am expecting the redirection only for exact term “25th
>> anniversary”.
>>
>>
>>
>> Is there any configuration to make sure that redirection should work on
>> exact match?
>>
>>
>>
>>
>>
>> Thank You!
>>
>

Reply via email to