Skip to main content.
home | support | download

Back to List Archive

Re: Manually adding to an index

From: Peter Ensch <pensch(at)not-real.ti.com>
Date: Thu Feb 24 2005 - 18:51:13 GMT
On Thu, Feb 24, 2005 at 12:38:07PM -0600, Peter Karman wrote:
> 
> however, I'm not really following. you're wanting to return a match for 
> something that isn't really in the index?

Exactly. I know that's probably not 'in the spirit' of swish-e, but I 
doubt if it's that an uncommon desire.

> 
> maybe BuzzWords ? check the docs for that for an example.

I don't think so. Buzzwords is all about indexing strings that exist in 
the document set but otherwise wouldn't get indexed.

> 
> Peter Ensch wrote on 02/24/2005 12:21 PM:
> >How can I force swish-e to return certain hits for a given search
> >irrespective of what was initially indexed?
> >
> >This is what I want to do...
> >
> >I index my own website. Then I want to add to the index such that
> >when one runs this search (let's say): 
> >
> >%> swish-e -w '"Search tools"'
> >swish-e returns http://swish-e.org
> >
> >Can this be done by somehow fiddling with the index AFTER it's 
> >built; or can you create a file that is actually indexed and
> >which ends up somehow creating the same effect.
> >
> >This sounds quite straightforward but I wasn't able to describe
> >my need concisely enough to get much help from an archive search.
> >
> >Thanks,
> >Peter
> >
> 
> -- 
>  Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com

-- 

^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^
Peter Ensch,
pensch@ti.com           A-1140   (214) 480 2333
^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^
Received on Thu Feb 24 10:51:14 2005