However, be careful if you do this.  Your index size will grow considerably
if your document has a lot of stopwords which is the case in general.

-- George 

-----Original Message-----
From: Digy [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 4:41 PM
To: [email protected]
Subject: RE: Which analyzer?

Hi Neils,

Try to create the StandardAnalyzer with no stop words such as

"new Lucene.Net.Analysis.Standard.StandardAnalyzer(new
System.Collections.Hashtable())"

DIGY

-----Original Message-----
From: Neils [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 10:26 AM
To: [email protected]
Subject: Which analyzer?

Hi folks,
 
i have tried around with some analyzer, but didn't found a solution for my
problem. 
 
I have a text wich looks like this: "24 hours t. b. a." 
 
StandardAnalyzer index: "24 hours b"
SimpleAnalyzer index: "hours t b a"
 
When i want to search with "24 tba" ( or "24 t b a") i got no results, cause
no analyzer matches my requirements. Did i miss some analyzer which can
handle this or is writing my own analyzer the only solution?
 
--Thanks--
 

Reply via email to