Ander Garmendia wrote on 10/1/12 4:58 AM:
> I'm indexing some XML files and I would like swish-e to return me the
> tag where the query matches. Is there any way to archieve this?
> Here is a little example:
> <title>the name of rose</title>
> <author>umberto eco</author>
> $ swish-e -w 'book=rose' -f index.idx
> $swish-e -w 'book=eco' -f index.idx
> Any help would be appreciated.
There's no way I know of to do this in swish-e.
I have implemented such a feature though, in Swish3:
There's currently no feature in the swish3 tool itself to return that list of
matching fields, but if you suggest an interface, I'd be happy to take a stab at
adding it. You can see the usage/options here:
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Users mailing list
Received on Fri Oct 05 2012 - 01:26:00 GMT