[jsword-devel] regex searching

Trenton D. Adams trent.jsword at trentonadams.ca
Tue Feb 23 18:33:49 MST 2010


But then again, I wonder if it's even needed, who knows.

----- "Trenton D. Adams" <trent.jsword at trentonadams.ca> wrote:

> From: "Trenton D. Adams" <trent.jsword at trentonadams.ca>
> To: "J-Sword Developers Mailing" <jsword-devel at crosswire.org>
> Sent: Tuesday, February 23, 2010 7:29:08 PM GMT -06:00 US/Canada Central
> Subject: [jsword-devel] regex searching
>
> Hello,
> 
> I'm getting the impression that regular expression searching is not at
> all possible without implementing something that loads the books
> itself, and goes through each verse of the bible.  Is this true?
> 
> It seems like the Lucene Index just doesn't support regular expression
> searches, eh?  And it also seems like SearcherFactory is currently not
> finished being implemented as a SearcherFactory, correct?  Or, perhaps
> other methods need to be added, like createSearcher(Book, Class
> searcherClass)???  Then you could provide another searcher type.
> 
> What would be appropriate for this? adding the new
> SearcherFactory.createSearcher(), adding another "find" method to
> AbstractBook/Book that is something like "find(SearchRequest,
> Searcher)"???
> 
> Are the books and everything abstract enough that I can search them by
> loading the text?  Or would I have to restrict it to the book types I
> know how to parse?
> 
> Anything else?
> 
> Thanks.
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel



More information about the jsword-devel mailing list