Commit Graph

6 Commits

Author SHA1 Message Date
Kelvin Tan e5dfadde8e Method of acquiring and releasing index lock could have resulted in a deadlock (thanks to Otis for pointing it out).
Made the acquire and release lock methods synchronized and centralized the point of access of the lock.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150777 13f79535-47bb-0310-9956-ffa450edef68
2002-05-25 10:19:22 +00:00
Kelvin Tan 6ba56b4a9d Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150771 13f79535-47bb-0310-9956-ffa450edef68
2002-05-13 10:56:54 +00:00
Kelvin Tan 5420a95069 Refactored to use typed arrays instead of generic lists. (thanks to Otis)
However, the array of objects returned are no longer guaranteed to be unique.
Clients should construct a Set out of the objectResults if uniqueness is required.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150770 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 07:01:10 +00:00
Kelvin Tan 06e1cc92d3 An object to encapsulate the results of a search.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150769 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:47:25 +00:00
Kelvin Tan 5f191db11b Implementation of SearchService.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150768 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:46:59 +00:00
Kelvin Tan 5ab813ac72 Fulcrum-based service declaration of a search service. This is actually quite a Lucene-specific interface declaration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150767 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 00:46:14 +00:00