Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wildcards don't work on strfields #176

Open
romanchyla opened this issue Aug 4, 2020 · 0 comments
Open

wildcards don't work on strfields #176

romanchyla opened this issue Aug 4, 2020 · 0 comments

Comments

@romanchyla
Copy link
Contributor

did not expect this: reader:X02f794aca returns results, but reader:X02f794ac* doesn’t. Are wildcard searches disabled for this field? And if so, are there other fields where they are not allowed?

it is a string field -- so in those it doesn't make much sense to use wildcards, but it should be possible -- the same thing happens with a facet field; but in there prefix query will work
http://adsabs.harvard.edu/solr/collection1/select?debugQuery=on&facet.prefix=1/Ba,%20J/Ba&facet=on&fl=author_facet_hier,reader,id,bibcode&indent=on&q=*&wt=json
looks like something is wrong: either some misconfiguration so that lucene cannot fetch proper binary representation of the tokens to search for or maybe the parser doesn't treat it as a wildcard search - and treats * as a literal
until i know what it is, you can use the following: http://adsabs.harvard.edu/solr/collection1/select?indent=on&q={!prefix%20f=reader}X02f794a&wt=json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants