Lucene already provides for "fuzzy" searches.

Try searching the KJV for: *melchesidec~*

The /tilde/ on the end indicates to the Lucene search engine to do a fuzzy
search. 

The above example will find *Melchizedek* in Gen 14:8, Psalm 110:4 and  the
9 instances of *Melchisedec* in Hebrews, though it also gives *Malchielites*
in Numbers 26:45 !

HT to DM Smith for an old post in this list.

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/Fuzzy-search-and-definitions-tp4657137p4657138.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to