searchdaimon / enterprise-search

An open source search engine for corporate data and websites.
http://www.searchdaimon.com/
GNU General Public License v2.0
107 stars 43 forks source link

Cannot filter on collections with only one character as name #7

Open runarbu opened 11 years ago

runarbu commented 11 years ago

Both the rest api and admin gui allow users to add collections with a single character as collection name. Unfortunately the search kernel won't allow us to filter so short names. For what I can see the query parser at src/query is filtering out this already before it reaches the search kernel.

To replicate:

Also try src/query/query_parser "omp collection:f" vs src/query/query_parser "omp collection:ff"