Skip to main content.
home | support | download

Back to List Archive

Re: How to select all the entries in an index file?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Nov 22 2002 - 16:26:44 GMT
At 02:40 AM 11/22/02 -0800, Yann wrote:
>I'm expecting swish-e to return me all the entries that an index file
>might contain, so without any word to search. Swish-e always says "you
>must indicate a word to search". I looked in the official documentation,
>tried "swish-e -w *", i didn't found how to make this.

Try "not afljkdlfjdslkfj"


>I can explain in few words why i want to do that: i've got 2Go of Unix
>documentation, and so i'm going to use swish for search in that doc. So,
>it is composed with howto 's, man pages, rfcs, etc... So i thought the
>best way to index the doc would be to index separately rfc, man etc...
>
>But, in addition to the search engine, i wanted the documentation to be
>available without any search, for example "show all rfcs from 250 to 350",
>so all entries in 'rfc.index', for example. I could do this with a mysql
>table, but the index file already contains all the data i need...

You can store the RFC number as a property and then use:

   -w not asdfghjklpoi -L rfc 250 350


-- 
Bill Moseley
mailto:moseley@hank.org
Received on Fri Nov 22 16:26:56 2002