We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I create an index using the following codes:
pouch.search({ fields: ['title', 'text'], build: true }).then(function (info) { // if build was successful, info is {"ok": true} }).catch(function (err) { // handle error });
then search using the following:
pouch.search({ query: 'your query here', fields: ['title'] }).then(function (res) { // handle results }).catch(function (err) { // handle error });
See how the fields property in the search doesn't include all the fields from the pre-built index? In a case like this, will the index still be used?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I create an index using the following codes:
then search using the following:
See how the fields property in the search doesn't include all the fields from the pre-built index? In a case like this, will the index still be used?
The text was updated successfully, but these errors were encountered: