Well, I think that's part of your problem. WhitespaceAnalyzer does
exactly what it says, splits on whitespace. So indexing "carbon" and
searching "carbon." won't generate a hit.

If KeywordAnalyzer doesn't work for you, you could consider either
using one of the Pattern* guys or write your own.....

HTH
Erick



On Fri, Apr 16, 2010 at 12:18 AM, Hid-Mubarmij <shahi...@gmail.com> wrote:

>
> Hi Erick,
>
> Thanks, I am using solr.WhitespaceTokenizerFactory and
> solr.LowerCaseFilterFactory for both index and query time.
> Following is the complete field i am using schema.xml:
> ==============================================
> <fieldType name="text_ws" class="solr.TextField"
> positionIncrementGap="100">
>
>      <analyzer type = "index">
>
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>
>        <filter class = "solr.LowerCaseFilterFactory"/>
>
>    </analyzer>
>
>
>    <analyzer type="query">
>
>        <tokenizer class = "solr.WhitespaceTokenizerFactory"/>
>
>        <filter class="solr.LowerCaseFilterFactory"/>
>
>   </analyzer>
>
>
> </fieldType>
> ==============================================
>
>
> --
> View this message in context:
> http://n3.nabble.com/SOLR-Exact-match-problem-Punctuations-double-quotes-etc-tp720807p723099.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to