you need to split your single file up into separate docs, either virtual
or real. Swish-e indexes documents plural.
you probably want something like:
script2splitxml yourxmlfile | swish-e -S prog -i stdin
Johannes Schill scribbled on 3/10/06 7:38 AM:
> I've just installed Swish-e and is quite impressed of its speed.
> However, I can't find any info about what i want to do:
> I have an XML-file with 100.000 products which i want to have
> searchable. Everything works fine, but when there's a hit it returns the
> filename (or sime times it returns the whole file, ie the content). And
> since all my products are in the same file id like it to return
> something else, such as row number. Or even better.....
> My xml:
> <Title>Bruce Lee</Title>
> <Title>Steven Seagal</Title>
> <Title>Chuck Norris</Title>
> So... if i search for "norris", id like it to return the whole
> product-post, with Id and Title.
> Anyone who can point me in the right direction of where I can read about
> this - if it's possible.
> Thank you for a very nice application.
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Fri Mar 10 06:17:32 2006