Couldn't it be that sentences ends with a dot... so "Cheese is good." will index the words: ["Cheese", "is", "good."] ? Observe the last word isn't "good", it's "good." with a dot. I know that has messed up some searches for me at least. You could perhaps override the implementation and instantiate an Analyzer/Tokenizer which gets rid of such punctuation characters?
2010/9/15 <rick.bullo...@burningskysoftware.com> > Using neo4j-index-1.1 and lucene-core-2.9.2, by the way. > > > > > > -------- Original Message -------- > Subject: Re: [Neo4j] Bug: LuceneFullTextQueryIndex service ignoring > last word/term > From: Mattias Persson <[1]matt...@neotechnology.com> > Date: Wed, September 15, 2010 10:37 am > To: Neo4j user discussions <[2]u...@lists.neo4j.org> > That sounds weird. Look at > TestLuceneFulltextIndexService#testSimpleFulltext > method, it queries for the last word and it seems to work. > Could you provide more info on this? > 2010/9/15 <[3]rick.bullo...@burningskysoftware.com> > > I've noticed that when indexing full text, the last term/word is > always > > ignored. This is a major issue, but I'm not sure if it is in the > index > > utils or in Lucene itself. > > > > > > > > Any thoughts? > > > > > > > > Thanks, > > > > > > > > Rick > > _______________________________________________ > > Neo4j mailing list > > [4]u...@lists.neo4j.org > > [5]https://lists.neo4j.org/mailman/listinfo/user > > > -- > Mattias Persson, [[6]matt...@neotechnology.com] > Hacker, Neo Technology > [7]www.neotechnology.com > _______________________________________________ > Neo4j mailing list > [8]u...@lists.neo4j.org > [9]https://lists.neo4j.org/mailman/listinfo/user > > References > > 1. mailto:matt...@neotechnology.com > 2. mailto:user@lists.neo4j.org > 3. mailto:rick.bullo...@burningskysoftware.com > 4. mailto:User@lists.neo4j.org > 5. https://lists.neo4j.org/mailman/listinfo/user > 6. mailto:matt...@neotechnology.com > 7. http://www.neotechnology.com/ > 8. mailto:User@lists.neo4j.org > 9. https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user