Here are some changes we had to make while working on our FarCry plugin. 3 of the fixes are just simple bug fixes (var scope issues, and a typo in the default value for the params argument for the search function). The others are new features. First, we needed a way to boost certain fields while adding a file. Second, our schema had a unique key field called "objectid" whereas your code assumed that it would be called "id". I added parameters so that we can send in our unique key field's name. I set the default to these to "id" so that it wont break any existing code.
I committed another change we required. We wanted to get the collated result from the spell checker so I added that as a key in the return structure for the search method
Hey Shannon,
Here are some changes we had to make while working on our FarCry plugin. 3 of the fixes are just simple bug fixes (var scope issues, and a typo in the default value for the params argument for the search function). The others are new features. First, we needed a way to boost certain fields while adding a file. Second, our schema had a unique key field called "objectid" whereas your code assumed that it would be called "id". I added parameters so that we can send in our unique key field's name. I set the default to these to "id" so that it wont break any existing code.
Let me know if you have any questions about them.
Thanks,
Sean