documentcloud / visualsearch

A Rich Search Box for Real Data
http://documentcloud.github.com/visualsearch
MIT License
1.8k stars 237 forks source link

default facet/category #38

Closed glesperance closed 12 years ago

glesperance commented 12 years ago

I'd need to modify the default facet name that queries default to when none has been specified.

Right now everything defaults to 'text' but I'd like it to be something else like 'music' or 'videos'.

Is there any way to achieve or do I need to modify the base visualsearch.js file?

samuelclay commented 12 years ago

Yeah, right now there's no way to do that. You could easily change the text from 'Text' to something else. VisualSearch is not under active development, so modifying the source wouldn't cause you as much of a headache as it would on a more actively developed project.