Re: WhitespaceAnalyzer vs StandardAnalyzer

2013-11-17 Thread VIGNESH S
Hi, whitespace analyzer would be ideal for your requirement. On Sat, Nov 16, 2013 at 1:51 AM, raghavendra.k@barclays.com wrote: Hi, I implemented my Lucene solution using StandardAnalyzer for both indexing and searching. While testing, I noticed that special characters such as

Problem deploying in Google App Engine

2013-11-17 Thread Goutham Tholpadi
Hi, I am trying to deploy is a tiny Lucene-based application in the Google App Engine (GAE). When I test run it on my machine (using the GAE SDK), I get the following error when I call IndexSearcher.search() in my code. Has any one run into this before? java.lang.NoClassDefFoundError:

RE: WhitespaceAnalyzer vs StandardAnalyzer

2013-11-17 Thread raghavendra.k.rao
Thank you very much, Eric. WhitespaceAnalyzer is going pretty well. I am now trying to search for values with special characters that need escaping for Lucene, but facing some issues. I have used the QueryParser.escape() method in the past with StandardAnalyzer and it worked fine. But now with

RE: WhitespaceAnalyzer vs StandardAnalyzer

2013-11-17 Thread raghavendra.k.rao
The solution clicked to me as soon as I sent the email :) The problem was that I was enclosing the search text with double quotes (for PhraseQuery) before providing it to QueryParser and it was getting messed up as double quotes is one of the special characters for Lucene and I guess even the

Re: FST Builder pruning

2013-11-17 Thread Michael McCandless
Yes, BlockTreeTermsWriter uses freezeTail to figure out where to draw the lines for assigning terms to blocks, but to build the trie terms index it builds a separate FST, by adding in each block's prefix (it doesn't use the FST's builder pruning to create the trie). Mike McCandless

RE: Problem deploying in Google App Engine

2013-11-17 Thread Uwe Schindler
Hi, Google App Engine is (like Android) not 100% Java compliant, as it only provides a subset of the official (and mandatory) Java API. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Goutham

RE: WhitespaceAnalyzer vs StandardAnalyzer

2013-11-17 Thread raghavendra.k.rao
Hi All, Could any one please suggest if it is possible to perform Leading and / or trailing wildcard searches using WhitespaceAnalyzer? As noted below, WhitespaceAnalyzer works well for my cause, but I need to support wildcard searches. Initial results prove that it isn't possible. BTW, I

How to perform Wildcard search when using WhitespaceAnalyzer?

2013-11-17 Thread raghavendra.k.rao
Hi All, Sorry to repeat this question from my previous mail chain, but I am hoping the modified subject will catch someone's attention - in case they are familiar with this situation. Could any one please suggest if it is possible to perform Leading and / or trailing wildcard searches

Re: Problem deploying in Google App Engine

2013-11-17 Thread Goutham Tholpadi
Thanks for the heads up, Uwe! Which (free) java web app hosting service do people generally prefer when they want to use Lucene as a component? On Mon, Nov 18, 2013 at 2:46 AM, Uwe Schindler u...@thetaphi.de wrote: Hi, Google App Engine is (like Android) not 100% Java compliant, as it only

Re: How to perform Wildcard search when using WhitespaceAnalyzer?

2013-11-17 Thread Jack Krupansky
The presence of a wildcard character causes the query parser to completely skip analysis for that term. You, the writer of the query terms, need to manually simulate all the the work that the analyzer does when a wildcard is present in a term. What does your query actually look like, and