Wildcards at beginning of a string with lucene sail #3391
Unanswered
blank-supportgis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use Wildcards at the beginning of a lucene query. The query
, for example, should yield the string
foobar
, which it currently doesn't.This is problably due to the fact that older versions of lucene didn't accept wildcards at the beginning of a sentence due to performance reasons (see "Wildcard Searches" in the documentation). However, there were ways to enable the usage of leading wildcards, e.g. like this in .NET
Newer versions seem to allow it anyway (https://lucene.apache.org/core/8_0_0/core/org/apache/lucene/search/WildcardQuery.html says that a term should not start with the wildcard *).
So my question: Is there any possibility to enable the use of leading wildcards for sparql queries on a lucene enabled repository?
I'm using Rdf4J server v3.7.3 on Windows 10 with OpenJDK 11.
Beta Was this translation helpful? Give feedback.
All reactions