Re: lucene query (sql kind)

2005-01-28 Thread sunil goyal
t; but "hello john" or some phrase. Regards Sunil On Fri, 28 Jan 2005 13:26:26 +0100, Morus Walter <[EMAIL PROTECTED]> wrote: > sunil goyal writes: > > > > I was just trying that... > > > > QueryParser qp = new QueryParser("field AND field",

Re: lucene query (sql kind)

2005-01-28 Thread sunil goyal
> Hello, >To build queries, you can generate a query like "(text:house OR > text:car) AND (keywords:building)", and then >parse it with the QueryParser.parse method to get the Lucene query. > Is not 100% sql-like syntax, but it's more clear >than th

lucene query (sql kind)

2005-01-28 Thread sunil goyal
Hello all, I want to run dynamic queries against the lucene index. Is there any native syntax available for Lucene so that I can query, by first generating the query in say an XML or SQL like format (cache this query) and then use this query over lucene index. e.g. So a lucene query syntax in w

Re: lucene integration with relational database

2005-01-15 Thread sunil goyal
; > > > 3) merge the two sets of primary keys (for example, in memory two-way > > merge) and take the top k records > > > > 4) display the top k result rows > > > > Cheers, > > > > Jian > > > > On Sat, 15 Jan 2005 12:40:04 +, Pete

lucene integration with relational database

2005-01-15 Thread sunil goyal
Hello all, I am new to the lucene user group and trying to know more about lucene. I want to know if lucene can be integrated with relational database for querying ? Lets say I have an employee database with their salaries, age , some textual description (articles) and some other description. I c