Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-11 Thread Tobias Klein
Just reported this here to keep track of it: http://tracker.crosswire.org/browse/API-225 On 5/9/20 10:21 AM, Tobias Klein wrote: I have a finding regarding the search results. Module: NASB Search term: "faith Jesus" Search type: multiWord (-2) Search boundaries: Regular (without strict

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-09 Thread Tobias Klein
I have a finding regarding the search results. Module: NASB Search term: "faith Jesus" Search type: multiWord (-2) Search boundaries: Regular (without strict flag) Among others I get Ephesians 2:7 and Ephesians 3:11 as search results. Both contain the word "Jesus". However, the respective

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-05 Thread Tobias Klein
Thank you, Troy! I appreciate it. I'm using this new search flag now and I'm getting exactly the results that I would expect. I think it's a good idea to make this configurable. I'm now also considering to add an option to my user interface to be able to toggle this option. Tobias On

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread David Haslam
I’m using PocketSword. The NASB module has no downloadable search index so I can’t do a direct comparison. I therefore used the same two words to search the NETfree module with scope limited to Matthew. It found only 7 verses containing both words. The nearest is 9:22 I can send a screenshot

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread Troy A. Griffitts
Dear Tobias, I have spent a bit of time documenting this a bit better in trunk and have added a new flag (SEARCHFLAG_STRICTBOUNDARIES) to turn off the default behavior to use a sliding window to find results. When performing a multiword (non-indexed) search with the NASB using your 2 terms, I

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread Karl Kleinpaste
On 5/4/20 6:10 PM, DM Smith wrote: > With the underlying lucene mechanism He said he's doing multiword search (-2), not lucene search (-4). ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread Tom Sullivan
Clarification: I use AND and OR all the time. Hints are in the Xiphos docs, if I recall, but the boolean operators need to be capitalized and nothing else capitalized. To search for a phrase, use quotes. Otherwise each word is OR'd with the others. Forgetting to capitalize and can lead to

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread DM Smith
With the underlying lucene mechanism you can set the connector to OR or to AND. I believe that OR is the default. With ranked search this works well. In Him, DM > On May 4, 2020, at 4:15 PM, Tobias Klein wrote: > > Hi, > > I have the impression that the SWORD multi word search is

Re: [sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread Troy A. Griffitts
Hi Tobias, This should be documented a bit better, but I believe we have a configurable verse window which is searched, which I believe defaults to 2 verses.  The thinking behind this is that occasionally, verse divisions artificially separate a common clause-- often breaking up a single sentence

[sword-devel] SWORD search issue / search type multi Word

2020-05-04 Thread Tobias Klein
Hi, I have the impression that the SWORD multi word search is returning some results that actually do not seem to match the search term. For example when searching for the term "faith Jesus" in the NASB module I get 86 results. The first result that seems invalid is Matthew 9:28: ^28 When