On Thursday 13 March 2003 00:52, Magnus Johansson wrote:
> Tatu Saloranta wrote:
...
> >But same happens during indexing; fotbollsmatch should be properly
> >split and stemmed to "fotboll" and "match" terms, right?
>
> Yes but the word fotbollsmatch was never indexed in this example. Only
> the wor
Hi,
I am getting a long value between 1(included) and 0(excluded-I think), and it makes
sense to me logically as well - I wouldnt know what a value of greater than 1 would
mean, and why should a term that has a score of 0 be returned in the first place! But
just to be sure, I wanted to chec
Thanks for the tips. I'll give your code a try today!
Dionne
-Original Message-
From: Rob Outar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:32 AM
To: Lucene Users List
Subject: RE: Searching for hyphenated terms
I had similar problems that were solved with this Analyzer
I had similar problems that were solved with this Analyzer:
public TokenStream tokenStream(String field, final Reader reader) {
// do not tokenize any field
TokenStream t = new CharTokenizer(reader) {
protected boolean isTokenChar(char c) {
return
Make a custom Analyzer. They are super simple to write.
Take pieces of WhitespaceAnalyzer and the Standard one.
Otis
--- "Sieretzki, Dionne R, SOLGV" <[EMAIL PROTECTED]> wrote:
> I have seen some previous postings about "Escape woes" and "Hyphens
> not matching", but I haven't seen any resolutio
I have seen some previous postings about "Escape woes" and "Hyphens not matching", but
I haven't seen any resolutions to an issue I've been trying to work out.
I don't want my search field to be case sensitive, so I used StandardAnalyzer. The
search field also has corresponding entries that m