[sword-devel] diatheke search type default ?
David Haslam
dfhmch at googlemail.com
Mon Feb 27 13:46:03 MST 2017
"Something not quite right in the state of Denmark ..."
diatheke -b ESV -k Merodach
gives no matches!
diatheke -b ESV -s lucene Merodach
gives 5 matches.
The actual instances are as follows: (omitting the references)
2 matches to "Evil-merodach"
2 matches to "Merodach-baladan"
1 match to "Merodach"
diatheke syntax help includes:
Valid search_type values are: phrase (default), regex, multiword, attribute,
lucene, multilemma.
If the default search type really is "phrase", surely one ought to expect
its omission to be equivalent to specifiying it explcitly?
diatheke -b ESV -s phrase Merodach
gives 5 matches
Is it that the syntax help is lying when it tells us that search type phrase
is (default) ?
Observations made with diatheke.exe version 4.7 as supplied with Xiphos
4.0.4 (Windows).
Best regards,
David
--
View this message in context: http://sword-dev.350566.n4.nabble.com/diatheke-search-type-default-tp4656833.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
More information about the sword-devel
mailing list