Re: Joins between index and database

2006-03-24 Thread Paul . Illingworth
You can get the results from the database and then create either some boolean clauses to append to your existing Lucene query if the number of results from the data base is small. If the number of results from the database is large then you can create a filter. (Assuming you have some common k

Re: Joins between index and database

2006-03-23 Thread markharw00d
See RangeFilter.bits() for some example code that creates a filter from terms. Also see TermsFilter in the "queries" module in the contrib section. ___ To help you stay safe and secure online, we've developed the al

Re: Joins between index and database

2006-03-23 Thread Paul Elschot
On Thursday 23 March 2006 20:51, Tom Hill wrote: > Hi - > > I have an application where I'm using Lucene to index the contents of > a database. That's working fine. > > But I have a problem where I'd like to retrieve a subset of the > documents that match a search, based on a join table in the