: Date: Mon, 8 Jun 2009 10:48:05 -0400 : From: Grant Ingersoll : Subject: firstSearcher and newSearcher events : : Is there a way, in a request, to know if the query being sent is from a : firstSearcher event? For instance, I've noticed that if one has the shards
I don't think so ... the listeners just fire off hte requests using the standard APIs. you might be able to do something clever to "guess" that you are in a firstSearcher or newSearcher event (i'm thinking about stuff like trying to fetch a searcher directly from the core and then comparing it to hte searcher in the request) but i wouldn't rely on it. -Hoss
