lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: StopWord elimination pls. HELP
Date Sun, 17 Oct 2004 11:03:52 GMT
On Sunday 17 October 2004 05:23, Miro Max wrote:

> d.add(Field.Text("cont", cont));
> writer.addDocument(d);
> to get results from a database into lucene index. but
> when i check println(d) i can see the german stopwords
> too. how can i eliminate this?

Field.Text("field", cont) where cont is a String will also store the 
original text, additionally to indexing it. toString() will then show the 
stored text. In the index you won't have any stopwords.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message