You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "GMishx (via GitHub)" <gi...@apache.org> on 2024/04/04 12:08:14 UTC
[I] Requiring support for leading wildcard search for nouveau [couchdb]
GMishx opened a new issue, #5027:
URL: https://github.com/apache/couchdb/issues/5027
[NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ )
## Summary
Requiring support for leading wildcard search for Nouveau indexes. Currently, the leading wildcard searches are not supported by Nouveau and throws a 400.
## Desired Behaviour
Ability to configure leading wildcard search for Nouveau.
## Possible Solution
In the previous integration with `couchdb-lucene`, there was a [configurable setting in `couchdb-lucene.ini` which can enable leading wildcard search](https://github.com/rnewson/couchdb-lucene?tab=readme-ov-file#other-tricks). Need a similar setting for Nouveau to support searches like `?q=name:*roe*`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Requiring support for leading wildcard search for nouveau [couchdb]
Posted by "rnewson (via GitHub)" <gi...@apache.org>.
rnewson commented on issue #5027:
URL: https://github.com/apache/couchdb/issues/5027#issuecomment-2037319284
This will not be supported for the same reason that Lucene itself recommends against it, it is very inefficient (all documents with the field must be read, you get no benefit from an index).
If you truly need this a common trick is to reverse your index input and reverse your query, converting a suffix query into a more efficient prefix query.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Requiring support for leading wildcard search for nouveau [couchdb]
Posted by "rnewson (via GitHub)" <gi...@apache.org>.
rnewson commented on issue #5027:
URL: https://github.com/apache/couchdb/issues/5027#issuecomment-2037323789
https://lucene.apache.org/core/9_10_0/queryparser/org/apache/lucene/queryparser/flexible/standard/CommonQueryParserConfiguration.html#setAllowLeadingWildcard(boolean)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Requiring support for leading wildcard search for nouveau [couchdb]
Posted by "GMishx (via GitHub)" <gi...@apache.org>.
GMishx commented on issue #5027:
URL: https://github.com/apache/couchdb/issues/5027#issuecomment-2039130154
Thanks for the explanation and inputs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Requiring support for leading wildcard search for nouveau [couchdb]
Posted by "GMishx (via GitHub)" <gi...@apache.org>.
GMishx closed issue #5027: Requiring support for leading wildcard search for nouveau
URL: https://github.com/apache/couchdb/issues/5027
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org