Hello,
I have a very simple webserver that I set up using web.py. See the simplest
example here:
http://webpy.org/cookbook/helloworld
The only change that I have above is that I also have a /search url that is
handled using "class search" which just searches an index and prints out
the hits. The
I have lucene-2.4.1-py2.5-macosx-10.5-i386.egg installed which I believe
should be the latest?
- Neha
On Mon, Jun 15, 2009 at 3:36 PM, Andi Vajda wrote:
>
> On Mon, 15 Jun 2009, Neha Gupta wrote:
>
> The problem am having is that when I send a few requests one after the
>>
Aric's suggestion seems to have done the trick. I just added "from
web.wsgiserver import WorkerThread" and then did exactly as the code snippet
that Aric sent below.
- Neha
On Mon, Jun 15, 2009 at 3:27 PM, Aric Coady wrote:
> On Jun 15, 2009, at 12:12 PM, Neha Gupta wrote:
&
Hey,
I was wondering if there is a way to read the index and generate n-grams of
words for a document using pylucene?
Thanks,
Neha
> There is an n-gram tokenizer, EdgeNGramTokenizer, that may be what you're
> looking for.
Looks like this is a n-gram character tokenizer.
- Neha
>
>
> - Brian
>
>
ShingleFilter did the trick.
- Neha
On Thu, Jun 18, 2009 at 10:23 PM, Neha Gupta wrote:
>
> There is an n-gram tokenizer, EdgeNGramTokenizer, that may be what you're
>> looking for.
>
>
> Looks like this is a n-gram character tokenizer.
>
> - Neha
>
>>
>>
>> - Brian
>>
>>
>