[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/search/lucene s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Aug 13 07:41:43 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/search/lucene
In directory www.crosswire.org:/tmp/cvs-serv27888/java/jsword/org/crosswire/jsword/book/search/lucene

Modified Files:
	LuceneIndex.java 
Log Message:
Split getOSISName into getOsisRef and getOsisID, since these are different.

Index: LuceneIndex.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/search/lucene/LuceneIndex.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** LuceneIndex.java	27 Jul 2005 23:25:46 -0000	1.24
--- LuceneIndex.java	13 Aug 2005 14:41:41 -0000	1.25
***************
*** 348,352 ****
                  {
                      doc = new Document();
!                     doc.add(Field.UnIndexed(FIELD_NAME, subkey.getOSISName()));
                      doc.add(Field.Text(FIELD_BODY, new StringReader(text)));
                      writer.addDocument(doc);
--- 348,352 ----
                  {
                      doc = new Document();
!                     doc.add(Field.UnIndexed(FIELD_NAME, subkey.getOsisRef()));
                      doc.add(Field.Text(FIELD_BODY, new StringReader(text)));
                      writer.addDocument(doc);



More information about the jsword-svn mailing list