Ali Rouhi wrote:
I can think of 3 reasons why search methods returning Hits objects are not exposed in Searchable:1) Someone forgot to declare Hits Serializable 2) There is a fundamental reason the forms of search which return Hits objects cannot be called remotely, some non optimal form of search will get called on the server(s) and I can't do anything about it. For example "void search(Query query, Filter filter, HitCollector results)" gets called. 3) Under the hood everything takes care of itself. When I call the "public Hits search(){...}" on the client, and use the Hits object to retrieve the 100 most relevant or top sorting results, a non optimal form of search does *not* get called on the server (maybe a form returning "TopDocs" is called). In this case I'm worrying unnecessarily!?
The correct answer is (3). Try it and see! Doug --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
