Closed eroux closed 5 years ago
There's an error in the text:query
. The query string needs to be quoted so that it is treated as a phrase rather than a 3-way or:
(?chunk ?score ?lit) text:query ( :chunkContents "\"de bzhin gshegs\""@bo-x-ewts 50 "highlight:") .
why it blows up otherwise requires more effort, but you should be able to move forward with the above change in the query
Here's some trace data for this problem. A successful query with a quoted search string:
LDSPDI_ISSUE-137-data-part-01.txt
and here's the failure data:
LDSPDI_ISSUE-137-data-part-03.txt
It is evident that the problem is that the QueryParser generates gibberish from the unquoted search string that essentially ends up violating the Lucene syntax.
It bears some more investigation but this is enough for now I think.
When running
in the
rfc011rw
dataset, I'm getting an error messagewith no other helpful context, @xristy can you take a look?