Skip to main content.
home | support | download

Back to List Archive

Context Searching by Title

From: David Ayres <dave(at)not-real.floridalawweekly.com>
Date: Fri Jul 01 2005 - 20:32:42 GMT
I'm using an old but reliable version of Swish-E (2.1.dev-25) on the following Linux system:
Linux 2.4.20-13.8 #1 Mon May 12 12:20:54 EDT 2003 i686 i686 i386 GNU/Linux

I've had a problem with context searching since day one.  The error occurs when delivered either from the command line or cgi.  I issue the following command:

swish-e -f ../files/swindexes/all/vol30.swish -w "daniel john" -t t

which should deliver all files with both the words "daniel" and "john" within the <TITLE> tag of each file.  (My tests were performed with quotation marks and without, just to cover my bases.)  Here's the output:

# SWISH format: 2.1-dev-25
# Search words: daniel john
# Number of hits: 14
# Search time: 0.000 seconds
# Run time: 0.014 seconds
1000 ../files/issues/vol30/dca/1467a.htm "LINDA GAYLE SELF, Appellant, v. JOHN DANIEL SELF, Appellee. 2nd District." 12182
963 ../files/issues/vol30/dca/547d.htm "MARK DANIEL, Petitioner, vs. ANGELA GARRISON and JOHN GARRISON and GIANNA SHEINHEIT and PRUDENTIAL SECURITIES, INC., Respondents. 3rd District." 2804
621 ../files/issues/vol30/dca/1064a.htm "DANIEL B. BURNETTE, Appellant, v. STATE OF FLORIDA, Appellee. 2nd District." 8163
602 ../files/issues/vol30/dca/720e.htm "DANIEL DAHLQUIST, Appellant, v. UNEMPLOYMENT APPEALS COMMISSION, Appellee. 5th District." 1411
602 ../files/issues/vol30/dca/723a.htm "STEVEN JOHN HANSEN, Appellant, v. STATE OF FLORIDA, Appellee. 2nd District." 10943
602 ../files/issues/vol30/dca/1066a.htm "DANIEL LEE MOORE, Appellant, v. STATE OF FLORIDA, Appellee. 2nd District." 7927
589 ../files/issues/vol30/dca/449b.htm "JOHN EDWARD PARKER, Appellant, v. STATE OF FLORIDA, Appellee. 1st District." 1200
589 ../files/issues/vol30/sco/29a.htm "JOHN CARDEGNA, et al., Petitioners, vs. BUCKEYE CHECK CASHING, INC., Respondent. Supreme Court of Florida." 55660
589 ../files/issues/vol30/dca/960a.htm "JOHN DAVID DENNEWITZ, Appellant, v. STATE OF FLORIDA, Appellee. 2nd District." 4111
571 ../files/issues/vol30/dca/991a.htm "JOHN DAVID BRADFORD, Appellant, v. STATE OF FLORIDA, Appellee. 2nd District." 1239
571 ../files/issues/vol30/dca/951a.htm "W.W. PLASTERING, INC., a Florida corporation, Appellant, v. CHISM CONSTRUCTION, INC., a Florida corporation; WAYNE R. CHISM, individually; LORIE L. MCCARROLL, individually; DANIEL J. GALLAGHER, individually; and MARION D. GALLAGHER, individually, Appellees. 1st District." 2530
571 ../files/issues/vol30/dca/581d.htm "BELLSOUTH MOBILITY LLC, Appellant, v. DANIEL J. CHRISTOPHER, on behalf of himself and a class of similarly situated persons, Appellee. 4th District." 2216
571 ../files/issues/vol30/dca/514a.htm "DANIEL CAMPBELL DAUBE, JR., M.D., Petitioner, v. DEPARTMENT OF HEALTH, Respondent. 1st District." 5014
571 ../files/issues/vol30/dca/258c.htm "JOHN VAN NEAL, Appellant, v. STATE OF FLORIDA, Appellee. 1st District." 2201

The first two entries returned conform to the search parameters.  Unfortunately, the remaining entries seem to indicate that Swish thinks the OR operator was used, rather than the default AND.  (I tried entering the AND operator anyway, and got the same results.)

Here's the relevant source of the third entry:

<HTML>
<TITLE> DANIEL B. BURNETTE, Appellant, v. STATE OF FLORIDA, Appellee. 2nd
District. </TITLE>
 <BODY>
<B>Criminal law -- Possession of controlled substance -- Knowledge of illicit nature of
substance -- Section 893.101, Florida Statutes, which states that knowledge of the illicit

**END SOURCE EXAMPLE**

As you can see, there is no "john" in the TITLE tag.

In my tests, the only accurate way of searching with the -t switch seems to be to limit the search to one word or phrase--which, of course, curtails the usefulness of searching by context.  Can anyone shed some light on this?

Thanks,
David

_______________
David Ayres
  for The Florida Law Weekly
Received on Fri Jul 1 13:32:47 2005