photokandyStudios / gbible

Greek Interlinear Bible for iOS (native)
http://www.photokandy.com/apps/gib
41 stars 31 forks source link

Search needs to support multiple words #32

Closed kerrishotts closed 12 years ago

kerrishotts commented 12 years ago

Right now, if you search for "Paul Abraham", you are searching for that exact phrase. Ideally, this needs to turn into either an AND or OR search that would return results containing either all verses with Paul AND Abraham in it, or all verses with either Paul OR Abraham.

The problem is presenting such an advanced view to the user. There's no simple way to display such a search to the end user, and so it might just boil down to some characters in the string, such as:

Using more search terms also brings in to play the necessity of desirability of highlighting those terms (if not the necessity).

kerrishotts commented 12 years ago

As of build #3900, this feature is implemented. Here's how it works:

Keep in mind that the search term is not truly /parsed/ out, rather certain characters in certain positions generate the behaviour. Do not expect the following to work as you may expect: