Hi there,
I’m trying to set up a keyword-search in drupal’s übercart. It already works for all products and for the CCK-fields I indexed and enabled via "Field Indexer Module".
But the search should also give me results if I’m searching for the product-Id (being the ISBN-number in our case). This is pulled by $node->model and it seems to be a node-field, right? However if I put an actual product-Id into the search-form ALL products are shown on the resultspage. This to me seems to be a bug.
Isn’t the product-Id field indexed properly? Might there be an possibility to expand node_field_indexer.module (field indexer module)? Or is this a known bug?
I also have the problem that I can’t exclude the "anything"-search-option since this option is grey-out in the keyword-search-settings. Does anyone have an idea on how to get startet here?
Thank you very much …
Comments
Comment #1
David Lesieur commentedSounds like a bug. I can't tell whether those ISBN numbers are indexed in your setup. However, if they are, then you should only get matching products. And if they are not, you should not be getting any results...
Although the Anywhere keyword search was not meant to be removed, you could probably do that through hook_form_alter(). If you wish to discuss this further, please post a separate issue.