[jsword-svn]
jsword/java/limbo/org/crosswire/jsword/book/search/ser s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Apr 24 18:22:25 MST 2005
Update of /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/search/ser
In directory www.crosswire.org:/tmp/cvs-serv22949/java/limbo/org/crosswire/jsword/book/search/ser
Modified Files:
SerIndex.java
Log Message:
Re-implemented the search language to use lucene syntax with range and blur as extensions.
Index: SerIndex.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/search/ser/SerIndex.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SerIndex.java 1 Apr 2005 17:09:47 -0000 1.2
--- SerIndex.java 25 Apr 2005 01:22:23 -0000 1.3
***************
*** 126,130 ****
// use the full version. This catches misses like se is
// the root of seed, and matches sea and so on ...
! Key ref = findWord(root);
if (ref.isEmpty())
{
--- 126,130 ----
// use the full version. This catches misses like se is
// the root of seed, and matches sea and so on ...
! Key ref = find(root);
if (ref.isEmpty())
{
***************
*** 140,144 ****
* @see org.crosswire.jsword.book.search.parse.Index#findWord(java.lang.String)
*/
! public Key findWord(String word)
{
checkActive();
--- 140,144 ----
* @see org.crosswire.jsword.book.search.parse.Index#findWord(java.lang.String)
*/
! public Key find(String word)
{
checkActive();
More information about the jsword-svn
mailing list