JohnAustinDev / xulsword

Automatically exported from code.google.com/p/xulsword
17 stars 6 forks source link

Search in modules other than Bibles #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have the resource Naves open
2. Select a word (took the keyword ABISHAI)
3. Rightclick/Search
4. No result
5. Click more
6. Choose 'Find verses which contain the word(s)
7. Finds: ISHBI-BENOB - -A giant warrior, killed by Abishai #2Sa 21:16|
but does not find the entry with ABISHAI itself.

What is the expected output? What do you see instead?
- That the search in non-Bibles is upper/lower case independent
- That it includes also keywords of dictionary/lexicon-resources

What version of the product are you using? On what operating system?
xs 3.3. linux

Please provide any additional information below.

Original issue reported on code.google.com by wolfgang...@wycliff.de on 1 May 2012 at 9:17

GoogleCodeExporter commented 9 years ago
The fact that dictionary keys are not included in the search is not xulsword's 
choice. It is actually the choice of the module creator. For instance, if you 
add "SearchOption=IncludeKeyInSearch" to the .conf file of Nave, and then build 
the search index, keys will be included in the search.

As an aside: Thanks to your observation reminding me of this issue, I've added 
"SearchOption=IncludeKeyInSearch" to osis-converters as default, so that 
dictionaries/glossaries created by it will by default include their keys in 
search indexes.

Original comment by gpl.prog...@gmail.com on 4 May 2012 at 5:03