in reply to Re^2: Google-like query of ASCII text with Text::Query or other modules
in thread Google-like query of ASCII text with Text::Query or other modules
The 'streamer' is a program that prints out the text data that's supposed to be indexed, plus some meta data. Check out the file_stream method in SWISH::API::Common:
print "Path-Name: $file\n", "Document-Type: TXT*\n", "Content-Length: $size\n\n"; print $data;
So, unless you want to put your text snippets into files, there'll be some additional work involved, but it should be easy.
|
|---|