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

how to spellcheck with query?? #224

Open
PrashantRajput159 opened this issue Feb 20, 2020 · 0 comments
Open

how to spellcheck with query?? #224

PrashantRajput159 opened this issue Feb 20, 2020 · 0 comments

Comments

@PrashantRajput159
Copy link

PrashantRajput159 commented Feb 20, 2020

below is my query:

var objQuery = client.createQuery();

objQuery.q({ Name : req.query.search })
.matchFilter("ProductAddedOn","["+todaydate+" TO "+currentDateTime+" ]")
.facet({on:true,field:"MerchantCampaignName"})
.facet({field:"Colour"})
.facet({field:"Brand"})
.facet({field:"Size"})
.facet({query:"Price:[* TO 300]"})
.facet({query:"Price:[301 TO 500]"})
.facet({query:"Price:[501 TO *]"})
.start(0)
.rows(50)
;

how to implement spellcheck with this query?

I checked this file for function
https://github.com/lbdremy/solr-node-client/blob/master/lib/query.js

spellcheck function is not available here (which is available in another module solr-node == https://github.com/godong9/solr-node/blob/master/lib/query.js)

I want to use your plugin because bq query is not available on solr-node plugin. so spellcheck is missing or as there another way to implement?

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

No branches or pull requests

1 participant