[jsword-svn] biblemapper/java/main/org/crosswire/biblemapper/swing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Oct 9 14:44:44 MST 2004


Update of /cvs/jsword/biblemapper/java/main/org/crosswire/biblemapper/swing
In directory www.crosswire.org:/tmp/cvs-serv30023/java/main/org/crosswire/biblemapper/swing

Modified Files:
	CliMapper.java 
Log Message:
indexing updates

Index: CliMapper.java
===================================================================
RCS file: /cvs/jsword/biblemapper/java/main/org/crosswire/biblemapper/swing/CliMapper.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CliMapper.java	8 Aug 2004 11:39:38 -0000	1.4
--- CliMapper.java	9 Oct 2004 21:44:42 -0000	1.5
***************
*** 11,15 ****
  import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.Books;
! import org.crosswire.jsword.book.Search;
  import org.crosswire.jsword.passage.BibleInfo;
  import org.crosswire.jsword.passage.NoSuchVerseException;
--- 11,16 ----
  import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.Books;
! import org.crosswire.jsword.book.search.parse.IndexSearcher;
! import org.crosswire.jsword.book.search.parse.PhraseParamWord;
  import org.crosswire.jsword.passage.BibleInfo;
  import org.crosswire.jsword.passage.NoSuchVerseException;
***************
*** 100,104 ****
                          BookData bdata = book.getData(find);
                          String text = bdata.getPlainText();
!                         PassageTally temp = (PassageTally) book.find(new Search(text, true));
                          temp.setOrdering(PassageTally.ORDER_TALLY);
                          total.addAll(temp);
--- 101,107 ----
                          BookData bdata = book.getData(find);
                          String text = bdata.getPlainText();
!                         String quote = IndexSearcher.getPreferredSyntax(PhraseParamWord.class);
!                         text = quote + text + quote;
!                         PassageTally temp = (PassageTally) book.find(text);
                          temp.setOrdering(PassageTally.ORDER_TALLY);
                          total.addAll(temp);



More information about the jsword-svn mailing list