Booking system search using solr -
i working on booking system in booking done based on dates selected start time till end time , maintain inventory table availability slot datetime column gives me value of availability of inventory time slot.
we range query in sql have inventory data indexed in solr faster range query searches.
the problem see whenever booking done inventory data has updated , won't constant update affect solrs performance?
this solr's near real time search has been built for. need fine tune this, should not face performance impediments, if used right.
near real time (nrt) search means documents available search after being indexed: additions , updates documents seen in 'near' real time. solr not block updates while commit in progress. nor wait background merges complete before opening new search of indexes , returning.
with nrt, can modify commit command soft commit, avoids parts of standard commit can costly. still want standard commits ensure documents in stable storage, soft commits let see near real time view of index in meantime.
when searching further resources topic on web, should stumble on these articles
- hard commits, soft commits , transaction logs erick erickson
- benchmarking new solr ‘near realtime’ improvements mark miller
- and of course the solr reference
Comments
Post a Comment