sounds like you want to use --enable-incremental and add a doc to an index.
you really don't want to "fiddle" with the index since it's binary and
murky and indecipherable without xray glasses.
however, I'm not really following. you're wanting to return a match for
something that isn't really in the index?
maybe BuzzWords ? check the docs for that for an example.
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
Received on Thu Feb 24 10:40:41 2005