Sergiu Dumitriu-2 wrote
Well, there are two "bugs" involved here.
One is that when there are spaces (as in white space) in the space name,
the part of the query that is supposed to filter only results from that
space is broken: instead of searching for documents in the space "a
space with whitespace", it searches for documents in the space "a" and
also containing "space with whitespace" as words in the text. I just
fixed this issue for the upcoming 4.3 release:
http://jira.xwiki.org/browse/XWIKI-8191
The second one is that the space name is not stored as it is, but it's
tokenized and analyzed so that it supports non-exact matches. But this
means that if we have two spaces, "Main" and "The Main Space", trying
to
get results from the "Main" space will also include results from the
"The Main Space" space. Fixing this would be a bit harder, since it
means indexing not just the "space" field, but also an "exactspace"
field that would allow exact matches on the space name. I've created
https://jira.xwiki.org/browse/XWIKI-8192 to track this issue.
--
Sergiu Dumitriu
Hi Sergiu,
Do you have any time (or XWIKI version) estimate for XWIKI-8192 on the
roadmap? We started testing XWIKI 4.3 on a development server, but did not
deploy it to our users. For our next deployment at our company, we would
ideally like to wait for the Lucene Search fix. We understand that most
developers are donating their time to XWIKI, but we just wondered if there
was any proposed time frame for this particular issue.
Thanks, Lisa
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Lucene-Search-does-not-correctly-filter-b…
Sent from the XWiki- Users mailing list archive at
Nabble.com.