You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by George Aroush <ge...@aroush.net> on 2006/06/07 17:01:15 UTC

Converting SQL statement to Lucene query

Hi folks,

Has anyone done or do you know of an API library that will take SQL
statement and convert them to Lucene Query?  I know not every SQL statement
can become a Lucene Query but that's OK as long as the library will
highlight them.

Thanks!

-- George


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


Re: Converting SQL statement to Lucene query

Posted by Pa...@saaconsultants.com.




You could take a look at Apaches Jackrabbit - it does this sort of thing.
Its not exactly a library but it might give you some pointers. My
understanding is that it uses an SQL like syntax for defining queries that
are converted into an abstract syntax tree which it can then convert into
any query syntax, Lucene query syntax being one. The Lucene query generated
is obviously specific to the Jackrabbit indexes.
Regards
Paul I.


                                                                           
             "George Aroush"                                               
             <george@aroush.ne                                             
             t>                                                         To 
                                       <ja...@lucene.apache.org>       
             07/06/2006 16:01                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Converting SQL statement to Lucene  
             java-user@lucene.         query                               
                apache.org                                                 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi folks,

Has anyone done or do you know of an API library that will take SQL
statement and convert them to Lucene Query?  I know not every SQL statement
can become a Lucene Query but that's OK as long as the library will
highlight them.

Thanks!

-- George


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