[sword-devel] fast searching support

Jerry Hastings sword-devel@crosswire.org
Tue, 15 Aug 2000 10:47:22 -0700


--=====================_47294151==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 02:27 PM 8/14/2000 -0700, Troy A. Griffitts wrote:
>I've added some basic search framework support and have optimized a few
>search scenerios for the RawText driver (case insensitive, multiword
>searches with a scope designated by a VerseKey).  You'll need the latest
>CVS source to try it out.

While working on search features, consider the following:

1) a button or check box for exact word. (Probably a front end issue.)
         This would force an RE search and add the expressions needed
         to mark the start and endings of words.

2) a button for logical OR. (Probably a front end issue.)
         This would force an RE search and place the vertical bar.

3) an exclude from results search.
         Like the search results search, but instead of keeping the hits
         and removing the others, do the opposite, remove the hits.

4) Found word list.
         Because the default ways of searching search for strings,
         not words, it would nice to be able to see what words were
         hit by the search string. This would go well with item 3.

I have uploaded two bmps based on the Win32 front end. The newsearch.bmp 
shows more features and a possible new layout for the win32 search window. 
However, the two item in the Narrow Results line should be changed to "Must 
Contain" and "Must Not Contain." That could also be "Must Have" and Must 
Not Have."

http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/search.bmp
http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/newsearch.bmp

Also, Win32 front end should have a Help button or Menu item.

Jerry



--=====================_47294151==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
At 02:27 PM 8/14/2000 -0700, Troy A. Griffitts wrote:<br>
<blockquote type=cite cite>I've added some basic search framework support
and have optimized a few<br>
search scenerios for the RawText driver (case insensitive, 
multiword<br>
searches with a scope designated by a VerseKey).&nbsp; You'll need the
latest<br>
CVS source to try it out.</blockquote><br>
While working on search features, consider the following:<br>
<br>
1) a button or check box for exact word. (Probably a front end
issue.)<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>This would
force an RE search and add the expressions needed <br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>to mark
the start and endings of words.<br>
<br>
2) a button for logical OR. (Probably a front end issue.)<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>This would
force an RE search and place the vertical bar. <br>
<br>
3) an exclude from results search.<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Like the
search results search, but instead of keeping the hits<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>and
removing the others, do the opposite, remove the hits.&nbsp; <br>
<br>
4) Found word list.<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Because
the default ways of searching search for strings, <br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>not words,
it would nice to be able to see what words were <br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>hit by the
search string. This would go well with item 3.<br>
<br>
I have uploaded two bmps based on the Win32 front end. The newsearch.bmp
shows more features and a possible new layout for the win32 search
window. However, the two item in the Narrow Results line should be
changed to &quot;Must Contain&quot; and &quot;Must Not Contain.&quot;
That could also be &quot;Must Have&quot; and Must Not Have.&quot;<br>
<br>
<font color="#0000FF"><u><a href="http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/search.bmp" eudora="autourl">http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/search.</a><a href="http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/search.bmp" eudora="autourl">bmp<br>
</a><a href="http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/newsearch.bmp" eudora="autourl">http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/newsearch.</a><a href="http://www.crosswire.org/sword/ALPHAcckswwlkrfre22034820285912/newsearch.bmp" eudora="autourl">bmp<br>
<br>
</a></font></u>Also, Win32 front end should have a Help button or Menu
item.<br>
<br>
Jerry<br>
<br>
<br>
</html>

--=====================_47294151==_.ALT--