Hi,
I've been using a simple grep addition to the xindice core that I think
is
useful. Basically, it functions like Query, except that it greps all the
documents in a collection and returns an xml doc representing the documents
and the matches.
I know that XPath is prefered when dealing with searches, but I've found
that many people know regex far better than they know xpath. So, I've
developed this addition to help my users find information in the way they
normally do.
This is a super simple implementation that allows any Perl 5 regular
expression. It uses the ORO package from Jakarta. So if we add this, it
would introduce a new dependancy upon that library.
Here's the additional file required in
java/src/org/apache/xindice/server/rpc/messages . Let me know what you all
think of this.Thanks Dave Viner
Grep.java
Description: Binary data
