lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: using lucene as a dictionary database?
Date Fri, 05 Nov 2004 22:01:40 GMT
Yes, you could certainly use Lucene for that.  If public APIs don't do
it for you, there is certainly some nice code under the hood that you
can reuse or borrow.

Otis


--- aurora <aurora00@gmail.com> wrote:

> Besides full text indexing, I need a database that represent a large
> dictionary like:
> 
>   (key1, key2) -> docid
> 
> I am considering between building a home grown solution and using
> Berkeley DB. Then I think I was using Lucene anyway, wouldn't it make
> sense use it as my database too? Just make key1 and key2 two keyword
> fields and an UnIndexed field for docid?
> 
> I need to do something like
> 
>   get(key1, key2) -> docid
>   get(key1) -> list of docid
> 
> This need to be fast
> 
>   add( list of (key1,key2,docid) )
> 
> This would be done perhaps once a day in a batch.
> 
> My experience with Lucene is its very efficient in terms of speed and
> storage size. Would this be a right usage with Lucene?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message