To be honest, I don't remember what I did for 2.9.4g :) I'll take a look at
svn-logs.
AFAICR this was the test case
void StopWordTest()
{
Lucene.Net.Store.Directory dir = new RAMDirectory();
CharArraySet myStopWords = new
CharArraySet(StandardAnalyzer.STOP_WORDS_SET, ignoreCase: false);
myStopWords.Add("abcd5", "abcd5");
Analyzer analyzer = new StandardAnalyzer(myStopWords);
IndexWriter writer = new IndexWriter(dir, analyzer , true);
for (int i = 0; i < 10; i++)
{
Document doc = new Document();
doc.Add(new Field("field", "abcd"+i , Field.Store.YES,
Field.Index.ANALYZED));
writer.AddDocument(doc);
}
writer.Close();
IndexSearcher src = new IndexSearcher(dir);
TopDocs topdocs = src.Search(new QueryParser("field",
analyzer).Parse("abcd5"), 500);
System.Diagnostics.Debug.Assert(topdocs.ScoreDocs.Length == 0,
"topdocs.ScoreDocs.Length should be zero");
}
DIGY
-----Original Message-----
From: Prescott Nasser [mailto:[email protected]]
Sent: Monday, September 05, 2011 9:51 PM
To: [email protected]
Subject: RE: [Lucene.Net] 2.9.4
I'll take a look at this for the trunk - I see you've fixed it in 2.9.4g, if
you have any ideas how that fix might be applicable to the trunk shoot them
out. I know g has a ton of changes and updated code, so it might be so easy
in the main trunk.
~P
----------------------------------------
> From: [email protected]
> To: [email protected]; [email protected]
> Date: Mon, 5 Sep 2011 21:45:06 +0300
> Subject: RE: [Lucene.Net] 2.9.4
>
> There is an issue still open(LUCENENET-414) related with StopWords.
>
> DIGY
>
> -----Original Message-----
> From: Prescott Nasser [mailto:[email protected]]
> Sent: Monday, September 05, 2011 9:22 PM
> To: [email protected]; [email protected]
> Subject: [Lucene.Net] 2.9.4
>
>
> Hey All,
>
>
>
> How do people feel about the 2.9.4 code base? I've been using it for
> sometime, for my use cases it's be excellent. Do we feel we are ready to
> package this up and make it an official release? Or do we have some tasks
> left to take care of?
>
>
>
> ~Prescott =
> -----
> Bu iletide virüs bulunamad¹.
> AVG taraf¹ndan kontrol edildi - www.avg.com
> Sürüm: 2012.0.1796 / Virüs Veritaban¹: 2082/4478 - Sürüm Tarihi:
05.09.2011
>