The document collection to which I intend to apply KinoSearch is set up
as a file hierarchy. As it might be:
/foo/bar/1.html
/foo/bar/2.html
/foo/baz/1.html
/qux/1.html
I need to be able to restrict searches by file path, automatically
including all subdirectories of the specified directory: for example,
someone might want to search "only /foo/bar", or "only /foo" (which
would include /foo/bar and /foo/baz) - or in more complex cases "both
/foo/baz and /qux". From the documentation I can't see a way of doing
this; is there something obvious I'm missing?
The only approach that comes to mind so far is to store a series of path
components in a custom field - so /foo/bar/1.html would have "/foo
/foo/bar". But this seems ugly.
Roger
as a file hierarchy. As it might be:
/foo/bar/1.html
/foo/bar/2.html
/foo/baz/1.html
/qux/1.html
I need to be able to restrict searches by file path, automatically
including all subdirectories of the specified directory: for example,
someone might want to search "only /foo/bar", or "only /foo" (which
would include /foo/bar and /foo/baz) - or in more complex cases "both
/foo/baz and /qux". From the documentation I can't see a way of doing
this; is there something obvious I'm missing?
The only approach that comes to mind so far is to store a series of path
components in a custom field - so /foo/bar/1.html would have "/foo
/foo/bar". But this seems ugly.
Roger