lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen" <cdor...@gmail.com>
Subject Re: StopWords problem
Date Thu, 27 Dec 2007 10:16:59 GMT
On Dec 27, 2007 11:49 AM, Liaqat Ali <liaqatalimian@gmail.com> wrote:

> I got your point. The program given does not give not any error during
> compilation and it is interpreted well. But the it does not create any
> index. when the StandardAnalyzer() is called without Stopwords list it
> works well, but when the list of stop words is passed as an argument,
> then it does not.


Hi Liaqat, I am confused, are you saying that the program creates no
index when stopwords are used?

All this time I thought the problem you get is that stopwords are indexed
as if they were regular words, but now you say no index is created..

Is there any exception thrown?
Do you see that there is no index to be found on the file system?
Or do you mean after closing the IndexWriter and opening an
IndexReader or IndexSearcher its numDocs is 0?
Or perhaps the index contains documents but your query search
finds nothing?

Again, a stand-alone Java program that demonstrates the problem
would be best and save your time and others. Lucene's Junit
tests are good examples of short programs that demonstrate
a problem, and fails unless the problem is fixed.

Regards, Doron

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message