godong9 / solr-node

Simple Solr Node Client Project.
MIT License
25 stars 25 forks source link

fix up fq param types #94

Open gyula-s opened 4 years ago

gyula-s commented 4 years ago

As you can see in lib/query.js line 157 and 176 a filter query never really expects a string, only an object with field and value.

If I'd send a string to fq() id get a compile error.