lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kerang Lv <lvkrne...@yahoo.com>
Subject Re: Run your Lucene Applications on Google AppEngine with GAELucene
Date Tue, 15 Sep 2009 16:13:50 GMT
>Do you plan to support in memory indexes using the memcache api?
I'm afraid not, I prefer to do indexing on another machine before I got a plan that can finish
indexing within 30s.



----- Original Message ----
From: Erdinc Yilmazel <erdincyilmazel@gmail.com>
To: java-user@lucene.apache.org
Sent: Tuesday, September 15, 2009 6:05:15 PM
Subject: Re: Run your Lucene Applications on Google AppEngine with GAELucene

This is great news! Are you happy with the the performance of the google
data store? Do you plan to support in memory indexes using the memcache api?

Thanks

On Mon, Sep 14, 2009 at 5:04 PM, Kerang Lv <lvkrnewer@yahoo.com> wrote:

> Hi Lucene users,
>
> Enlightened by the discussion "Can I run Lucene in google app engine? [
> http://www.nabble.com/Can-I-run-Lucene-in-google-app-engine--td23017742.html],
> I implemented a google datastore based Lucene component, GAELucene, which
> can help you to run search applications on google app engine.
>
> The main clazz of GAELucene include:
>    * GAEDirectory - a read only Directory based on google datastore.
>    * GAEFile - stands for an index file, the file's byte content will be
> splited into multi GAEFileContent.
>    * GAEFileContent - stands for a segment of index file.
>    * GAECategory - the identifier of different indices.
>    * GAEIndexInput - a memory-resident IndexInput? implementation like the
> RAMInputStream.
>    * GAEIndexReader - wrapper for IndexReader? that cached in
> GAEIndexReaderPool
>    * GAEIndexReaderPool - pool for GAEIndexReader
>
> The following code snippet demonstrates the use of GAELucene do searching:
>  Query queryObject = parserQuery(request);
>  GAEIndexReaderPool readerPool =GAEIndexReaderPool.getInstance();
>  GAEIndexReader indexReader = readerPool.borrowReader(INDEX_CATEGORY_DEMO);
>  IndexSearcher searcher =newIndexSearcher(indexReader);
>  Hits hits = searcher.search(queryObject);
>  readerPool.returnReader(indexReader);
>
> You can find more here 'http://code.google.com/p/gaelucene/'
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>



      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message