lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petite Abeille <petite_abei...@mac.com>
Subject Re: Design doubt
Date Thu, 05 Nov 2009 06:32:07 GMT

On Nov 5, 2009, at 7:18 AM, prabin meitei wrote:

>
> how can a design an index in such a way that
> - i can search who purchased a book say b1, sort the result by  
> purchase date
> - find all the users who purchased a book say b1 in last 30 days
> - find users who matches certain criteria and also purchased a book  
> say b1
> (sort by purchased date)

Sounds like you would be better off using a proper relational model  
for the purpose at hand...

Tangentially relevant link:

"Double-thinking in SQL"
http://explainextended.com/2009/07/12/double-thinking-in-sql/

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/


---------------------------------------------------------------------
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