Query or Term Filter with wildcard on URL, Directory and subdirectory fails to return results
I'm using OSS 1.5.12 and using the file crawler to create an OSS index.
When querying the index, whilst using a wildcard within a query or term filter on the fileName field works as expected, applying a similar wildcard to the URL, directory or subdirectory fields returns no results.
Whilst I can get a single result entering the full URL of a file. Attempting to use a wild card like...
file:/D:/*
... fails to return any results. I've tested with both Query and Term filters with the same results.
Hi @micktion, did you find a solution to this?
We're trying to achieve the same thing, but with URL's.
I'm also having a similar issue trying to query from a selected URL to show any results that appear in its children.
I've tried the following filters as both Query and Term filters, with no success:
{
"type": "TermFilter",
"negative": false,
"field": "url",
"term": "[http://www.myurl.com/subpage/ TO *]"
}
{
"type": "TermFilter",
"negative": false,
"field": "url",
"term": "http://www.myurl.com/subpage/*"
}
Any help on this would be extremely appreciated!
No i haven't found a solution for it.
I've ended up reverting back to OSS 1.4 as I encountered other more critical issues with OSS 1.5.
We're now looking at migrating to Azure Search