On May 16, 2012, at 5:23 AM, marco crivellaro wrote: > Hi all, > this might be a silly question but I've found different opinions on the > subject. > > When a search is run after a commit is performed will the result include all > document(s) committed until last commit? > > use case (sync): > 1- add document > 2- commit > 3- search (faceted) > > will faceted search on point 3 include the document added at point 1? > > thank you, > Marco Crivellaro > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/commit-question-tp3984044.html > Sent from the Solr - User mailing list archive at Nabble.com.
Yes - as long as that commit has the option of waiting for a new searcher set to true. Otherwise it would be a race. - Mark Miller lucidimagination.com