Depending on your requirements, using Lucene directly instead of Solr might be appropriate. Even in a web environment.
Not likely a popular statement on the Solr list, but one that you should consider. :-) -Glen 2008/12/23 Manupriya <manupriya.si...@gmail.com>: > > Yes... At present I want SOLR to run within my standalone java application > which at a later stage may be ported to a web application. It would be great > if I could get some initial pointers to achieve that. > > Thanks, > Manu > > David Smiley @MITRE.org wrote: >> >> Absolutely... most of us come from a web-app world but there isn't >> anything intrinsically web-app about Solr except for the obvious fact that >> Solr itself runs on a servlet engine. >> >> If you mean is Solr embeddable so that it could run within your Java >> application (which may or may not be a web-app; doesn't matter) then I >> believe you can do that too but I'll leave it to others to describe how to >> do that if in fact that is what you want. >> >> ~ David >> >> >> On 12/23/08 8:17 AM, "Manupriya" <manupriya.si...@gmail.com> wrote: >> >> >> >> Hi, >> >> I am very new to using SOLR. I referred through the documentation for SOLR >> and tried to understand it. >> >> Now have a feel of SOLR. My actual requirement is to use SOLR for search >> against the database tables. I refered the link at >> http://wiki.apache.org/solr/DataImportHandler#head-ac5699cd97e4dced90f41ab0ff81fb752e9d350c >> >> This link talks about web application only. Can I implement search against >> DB tables through a standalone Java class? >> >> Thanks, >> Manu >> -- >> View this message in context: >> http://www.nabble.com/emample-for-using-SOLR-for-search-against-database-tables-tp21144315p21144315.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/emample-for-using-SOLR-for-search-against-database-tables-tp21144315p21144693.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- -