Allowing wildcard lucene queries with leading *
See original GitHub issueHi,
Is there any setting to allow lucene queries start from a *
? Example:
SELECT FROM City WHERE name LUCENE "*york*"
Apparently this is the default Lucene behavior to keep its performance and a higher level. However, sometimes this comes in useful.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Understanding Lucene leading wildcard performance
Lucene does not by default allow leading wildcards in search terms, but this can be enabled with: QueryParser#setAllowLeadingWildcard(true).
Read more >StandardQueryParser (Lucene 3.0.3 API)
Set to true to allow leading wildcard characters. When set, * or ? are allowed as the first character of a PrefixQuery and...
Read more >Customizing Solr to handle Leading Wildcard queries
I want to enable leading wildcard query searches in general. The case mentioned in the earlier mail is just one of the many...
Read more >Apache Solr - Leading Wildcard Queries and ...
A leading wildcard query must iterate through all of the terms in the index to see if they match the query. For even...
Read more >Lucene query syntax - Azure Cognitive Search | Microsoft Learn
To use full Lucene syntax, you'll set the queryType to "full" and pass in a query expression patterned for wildcard, fuzzy search, or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Enabling this will slow down the search. That’s all. Use only if you know what you are doing.
@robfrank thanks! This is great news.