Well, it completely depends on which analyzers you use. Each analyzer
has its own chain of tokenisers which do things. If you really want to
create your own queries, perhaps it would be better to run the input
text through the same analyzer first.

ben

2009/11/20 Henning Meyer <[email protected]>:
>> Without a thorough investigation, it looks like an analyzer
>> misunderstanding. The simpleanalyzer used a lowercase filter. So your
>> tokenised term is being added as lowercase value which doesn't match
>> the 'Value' string you are searching for
>>
>> As a general rule, always use the same analyzer on the indexing side
>> of things as the querying side else you'll get unexpected results.
>
> Thank you! So in order to generate a query programmatically myself I
> just just use small case Query Strings without any Spaces or
> Stopwords?
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> CLucene-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
CLucene-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to