Author: navssurtani
Date: 2008-06-11 06:02:18 -0400 (Wed, 11 Jun 2008)
New Revision: 5972
Modified:
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCache.java
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java
Log:
Modified: searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCache.java
===================================================================
--- searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCache.java 2008-06-11
09:30:03 UTC (rev 5971)
+++ searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCache.java 2008-06-11
10:02:18 UTC (rev 5972)
@@ -12,7 +12,7 @@
*/
public interface SearchableCache extends Cache
{
- public QueryResult find(Query luceneQuery);
+ public QueryResult createQuery(Query luceneQuery);
}
Modified: searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java
===================================================================
---
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java 2008-06-11
09:30:03 UTC (rev 5971)
+++
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java 2008-06-11
10:02:18 UTC (rev 5972)
@@ -34,12 +34,12 @@
this.cache = cache;
}
- public QueryResult find(Query luceneQuery)
+ public QueryResult createQuery(Query luceneQuery)
{
return new QueryResultImpl(luceneQuery, cache);
}
- public QueryResult find(Query luceneQuery, Class... classes)
+ public QueryResult createQuery(Query luceneQuery, Class... classes)
{
return new QueryResultImpl(luceneQuery, cache, classes);
Show replies by date