> WhitespaceAnalyzer is case sensitive. Is there a way
> to
> make it case insensitive?
You can build your custom analyzer using WhitespaceTokenizer + LowercaseFilter.
Source code of an existing analyzer will help you.
public TokenStream tokenStream(String fieldName, Reader reader) {
Whites
this works, however WhitespaceAnalyzer is case sensitive. Is there a way to
make it case insensitive?
On Sat, Jul 3, 2010 at 7:37 AM, Ahmet Arslan wrote:
> > I am using this analyzer:
> > @Analyzer(impl =
> > org.apache.lucene.analysis.standard.StandardAnalyzer.class)
> >
> > "$" is not inlclu
You're probably getting mislead by storing .vs. indexing.
When you say that the '$' is showing up in Luke, I'm
guessing that what you actually are looking at is the
stored value rather than the indexed tokens. You can
look at both with Luke, but it can be confusing...
FWIW
Erick
On Thu, Jul 1, 20
> I am using this analyzer:
> @Analyzer(impl =
> org.apache.lucene.analysis.standard.StandardAnalyzer.class)
>
> "$" is not inlcluded in the STOP_WORDS for this
> analyzer. Is there
> somewhere else i should be looking? When i use Luke
> with the
> standardAnalyzer, it does not parse the query.
I am using this analyzer: @Analyzer(impl =
org.apache.lucene.analysis.standard.StandardAnalyzer.class)
"$" is not inlcluded in the STOP_WORDS for this analyzer. Is there
somewhere else i should be looking? When i use Luke with the
standardAnalyzer, it does not parse the query. Is there a way to
What analyzer are you using? Did you check that it is making it through your
analyzer?
-Grant
On Jul 1, 2010, at 2:56 PM, Nathaniel Auvil wrote:
> i am trying to search for a value which begins with a '$' or even sometimes
> '$$'. '$' is not listed as a special character and no matter what i