Re: Search result anomaly
Peter Karman <[email protected]> Wed, 20 Sep 2006 07:17:50 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
Bill Moseley scribbled on 9/20/06 9:04 AM: > On Wed, Sep 20, 2006 at 06:55:29AM -0700, Deane Barker wrote: >> What I'd like to do is return a hit on a term that was indexed anywhere in >> the document -- meta, title, body, wherever. > > > The metanames ( not <meta> ) are somewhat like columns in a database. > They are separate, but related by the file they come from. And just > like in a database you have to specify which column you want to > search in. > > It can be confusing because which things up in which metanames is not > always clear and can be changed by configuration settings. In html > docs titles end up indexed with the body content and sometimes <meta> > does, too. > >> Is this accomplished when the body of text is indexed, or when it's >> searched? > > If you want to search for words that are in different metanames you > have to specify each metaname using the OR operator. > or index your docs with the XML2 parser: http://swish-e.org/archive/2006-07/10647.html -- Peter Karman . http://peknet.com/ . [email protected]