lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: Results from Solr
Date Fri, 21 Aug 2009 04:31:12 GMT
Or maybe tweak the "splitOnCaseChange" property in the
WordDelimiterFilterFactory for the text field.

Cheers
Avlesh

On Fri, Aug 21, 2009 at 8:46 AM, Stephen Weiss <sweiss@stylesight.com>wrote:

> If I'm not mistaken, you should index name as field type "string" - right
> now you are probably using "text" so it is tokenizing on the Uppercase
> characters.  If you use "string" type this shouldn't happen.  You could use
> a copyField to make a separate "name_string" field so that you can do both
> #1 and #2, depending on the circumstance.
>
> --
> Steve
>
>
> On Aug 20, 2009, at 10:26 PM, bhaskar chandrasekar wrote:
>
>  Hi,
>>
>> Can some one help me with the below situation?
>>
>> To elaborate more on this.
>> Assuming i give "BHASKAR" as input string.
>>
>> Scenario 1: It should give me search results pertaining to BHASKAR only.
>> Select * from MASTER where name ="Bhaskar";
>> Example:It should not display search results as "ChandarBhaskar" or
>> "BhaskarC".
>> Should display Bhaskar only.
>>
>> Scenario 2:
>>
>> Select * from MASTER where name like "%BHASKAR%";
>> It should display records containing the word BHASKAR
>>
>> Ex:
>> Bhaskar
>> ChandarBhaskar
>> BhaskarC
>> Bhaskarabc
>>
>> How to achieve Scenario 1 in Solr ?.
>>
>> Thanks
>> Bhaskar
>>
>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message