Ooops . Sorry - Never mind - they are present under contrib directory. /opt/programs/solr $ find contrib -name *.java | grep Handler contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImportHandlerException.java contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/AbstractDataImportHandlerTest.java contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImportHandler.java contrib/extraction/src/main/java/org/apache/solr/handler/SolrContentHandler.java contrib/extraction/src/main/java/org/apache/solr/handler/ExtractingRequestHandler.java contrib/extraction/src/main/java/org/apache/solr/handler/SolrContentHandlerFactory.java contrib/extraction/src/test/java/org/apache/solr/handler/ExtractingRequestHandlerTest.java
On Fri, Dec 12, 2008 at 10:40 AM, Rakesh Sinha <rakesh.use...@gmail.com> wrote: > [Changing subject accordingly ] . > > Thanks Noble. > > I grabbed one of the nightlies at - > http://people.apache.org/builds/lucene/solr/nightly/ . > > I could not find the DataImportHandler in the same. May be I am > missing something about the sources of DataImportHandler. > > Can somebody suggest on where to find the same. > > On Thu, Dec 11, 2008 at 12:49 AM, Noble Paul നോബിള് नोब्ळ् > <noble.p...@gmail.com> wrote: >> On Wed, Dec 10, 2008 at 11:00 PM, Rakesh Sinha <rakesh.use...@gmail.com> >> wrote: >>> Hi - >>> I am a new user of Solr tool and came across the introductory >>> tutorial here - http://lucene.apache.org/solr/tutorial.html . >>> I am planning to use Solr in one of my projects . I see that the >>> tutorial mentions about a REST api / interface to add documents and to >>> query the same. >>> >>> I would like to create the indices locally , where the web server (or >>> pool of servers ) will have access to the database directly , but use >>> the query REST api to query for the results. >> >> If your data resides in DB consider using DIH. >> http://wiki.apache.org/solr/DataImportHandler >> >>> >>> I am curious how this could be possible without taking the http rest >>> api submission to add to indices. (For the sake of simplicity - we can >>> assume it would be just one node to store the index but multiple >>> readers / query machines that could potentially connect to the solr >>> web service and retrieve the query results. Also the index might be >>> locally present in the same machine as that of the Solr host or at >>> least accessible through NFS etc. ) >> I guess you are thinking of using a master/slave setup. >> see this http://wiki.apache.org/solr/CollectionDistribution >> or http://wiki.apache.org/solr/SolrReplication >> >> >>> >>> Thanks for helping out to some starting pointers regarding the same. >>> >> >> >> >> -- >> --Noble Paul >> >