r-bishop / bpbible

Automatically exported from code.google.com/p/bpbible
0 stars 0 forks source link

Search caps #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Jude 14 And Enoch also, the seventh from Adam, prophesied of these, saying, 
Behold, the Lord cometh with ten thousands of his saints,

Gen 2:4 These are the generations of the heavens and of the earth when they 
were created, in the day that the LORD God made the earth and the heavens,

Please note that the search engine considers LORD (all caps) the same as Lord 
(not all caps) the same, however in the Bible, 'LORD' in all caps is a 
reference to GOD and 'Lord,' not in all caps, is a reference to Jesus Christ. 
It does not matter if I search with "LORD" and "Lord", I get both words in the 
results when I would like separate results. The use of quotes helps narrow the 
search results, otherwise, you get the following: Search sin, with out quotes:  
Results: verses with 'sin', 'sinner', 'sinning', 'sins', etc.... 

Please provide any additional information below.

Please inform of issue changes: wcl_kych(at)yahoo.com

Original issue reported on code.google.com by markusch...@gmx.de on 25 Jan 2014 at 9:52

GoogleCodeExporter commented 9 years ago
I don't think this is a bug: it's just the way search generally works.
Trying to include capitalisation in the search will mean that many words will 
be treated differently depending on whether they are at the start of a sentence 
or in the middle of a sentence.  This doesn't seem like a good idea.

As far as the search for "sin" goes, this is also as designed: it is due to the 
stemming process we use.
Why is it there?  Because often you do want related words, and it saves you 
having to remember to list them all out (and then having to list them all out 
correctly).
I know I used frequently to have to make searches like (sin,sinner,sinned,sins) 
and hope I caught everything I wanted to.  It doesn't always do what you want, 
but in my experience it does more often than it doesn't, because it's easier to 
skip verses that aren't relevant than it is to find important verses that you 
missed in a first search.

Also, officially the combination to switch stemming off would be +sin - I 
didn't even realise quotes turned stemming off.

Original comment by jonmmor...@gmail.com on 29 Jan 2014 at 1:48

GoogleCodeExporter commented 9 years ago
Expand Search Options on the search panel - there is an option there marked 
Case Sensitive. This should do what you want. Can you confirm this works as 
expected and desired?

Original comment by benpmor...@gmail.com on 29 Jan 2014 at 1:52

GoogleCodeExporter commented 9 years ago
I have confirmed that the "Case Sensitive" option mentioned by Ben above seems 
to allow the behaviour requested.  As a result, I'm closing this issue.

Original comment by jonmmor...@gmail.com on 3 Jan 2015 at 12:42