bcoe / npm-typeahead

A tiny web-app that exposes typeahead search functionality for packages on http://www.npmjs.org.
4 stars 6 forks source link

`grunt-` - zero matches #7

Closed dylang closed 10 years ago

dylang commented 10 years ago

There should be lot of matches.

bcoe commented 10 years ago

I think this is a problem with how I am escaping the query for Lucene:

  1. I'm searching the name field, and I should be searching the untouched field:
  2. I should escape the query string before it goes into ES:

I've been wanting to fix this issues, was partially curious to see if anyone brought it up first ;)