lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Svensson (JIRA)" <>
Subject [jira] [Commented] (LUCENENET-523) StandardAnalyzer StopWords cannot be used
Date Wed, 22 May 2013 06:29:20 GMT


Simon Svensson commented on LUCENENET-523:

Can you provide us with a failing nunit test case, or a simple console application, that contains
both indexes content and fails to search within the indexed content? Or perhaps a small console
application that shows us the error?

It still sounds like you're using the default stop-words when indexing.
> StandardAnalyzer StopWords cannot be used
> -----------------------------------------
>                 Key: LUCENENET-523
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Phinehas
> When set the stop words list to empty set, it stills stop the english stop words such
as "of", "the". But I want to search these common words in phrase query.
> StandardAnalyzer analyzer = new StandardAnalyzer(Version.LUCENE_30, CharArraySet.EMPTY_SET);
>             IndexSearcher searcher = new IndexSearcher(FSDirectory.Open(indexDirectory));

>             Lucene.Net.Index.IndexReader indexReader = Lucene.Net.Index.IndexReader.Open(FSDirectory.Open(indexDirectory),

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message