Skip to main content.
home | support | download

Back to List Archive

[swish-e] Return matched text's tag into result

From: at <Ander>
Date: Mon, 01 Oct 2012 11:58:10 +0200
Hi,

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:

XML:
<book>
<title>the name of rose</title>
<author>umberto eco</author>
</book>


$ swish-e -w 'book=rose' -f index.idx
title


$swish-e -w 'book=eco' -f index.idx
author


Any help would be appreciated.

Ander.




_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Oct 02 2012 - 18:13:35 GMT