On Sun, Dec 21, 2008 at 12:24 AM, Vicky_Dev <vikrantv_shirbh...@yahoo.co.in>wrote:
> > Hi Team, > > I am currently using DiscMax Request Handler for indexing and querying to > Solr. DiscMax Request Handler (Ranking / Boosting/ Blocking etc.) is > working correclty. DisMax is used for querying only. It does not support indexing documents. > > Issue: > There are different database table on which query was done and accordingly > Solr index will be created. > If any contents in any of database table are changed > (delete/update/insert), > index should be updated (Java class/webservice) should get called to update > index. Logic for creating/ updating index is very specific to requirements > > After going through Solr 1.3 documentation, Dataimporthandler seems to be > good one. Since after changes in database table, it will automatically > update indexes. This is not correct. DataImportHandler does not automatically update indexes if the database changes. Someone needs to ask DataImportHandler to do a full/delta import. > Is it possible to > --customize dataimporthandler to call webservice and send updated data > (e.g. > product ID's in PRODUCTS table) to webservice. > Does the webservice update the index? If yes, then you don't need it because DataImportHandler will update the indexes when called. > --use Data importhandler for updating indexes and DiscMax Request Handler > for query Yes this is possible. PS: It is DisMax and not "DiscMax" -- Regards, Shalin Shekhar Mangar.