Re: Negative Wildcard Queries

2014-10-31 Thread Erick Erickson
Probably a syntax error. Test it and see? You simply can't guarantee results if you allow users to input whatever they want though... Best, Erick On Fri, Oct 31, 2014 at 12:16 PM, Prad Nelluru wrote: > We have users inputing Lucene queries, so I was wondering what would happen > if they put in

[ANNOUNCE] Apache Lucene 4.10.2 released

2014-10-31 Thread Michael McCandless
October 2014, Apache Luceneā„¢ 4.10.2 available The Lucene PMC is pleased to announce the release of Apache Lucene 4.10.2 Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full

RE: Negative Wildcard Queries

2014-10-31 Thread Prad Nelluru
We have users inputing Lucene queries, so I was wondering what would happen if they put in this. Thanks! -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, October 31, 2014 11:47 AM To: java-user Subject: Re: Negative Wildcard Queries Um not sur

Re: Negative Wildcard Queries

2014-10-31 Thread Erick Erickson
Um not sure what that means. Are you looking to not return docs where "hello" is followed by "world", "worldiness", "worldly"? If so the syntax is wrong... But you'd need to use the ComplexPhraseQueryParser available in 4.8 to do something like that. Best, Erick On Fri, Oct 31, 2014 at 10:17

RE: Negative Wildcard Queries

2014-10-31 Thread Prad Nelluru
Thanks! Is it possible to say -"hello world"* ? -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Thursday, October 30, 2014 10:15 PM To: java-user Subject: Re: Negative Wildcard Queries Actually, "hello world*" is possible with the ComplexPhraseQueryParser

Solved: real infix suggester, not AnalyzingInfixSuggester

2014-10-31 Thread Michael Breu
Hello Oliver, Just to close this case: With your hint I was able to create an InfixSuggester based on the AnalyzingSuggester. The clue was to wrap the basic analyzer by an NGramTokenFilter. The solution is quite simple, however it took me some time to fit the pieces together. private final A

Lucene IndexWriter created write.lock and on commit the thread locks permanently.

2014-10-31 Thread aditya_pratap
Hi, When IndexWriter initializes it creates write.lock into the index directory. And after the writer.close() it automatically deleted from there and I am able to see several files containing extension fdx, fdt, si and many more. This process works fine in windows but in case of linux (Red Hat se