First off, I'd like to say that this module provides a great way to search. Nice work :)
I'm noticing a problem with the taxonomy search index. When I create a new content node that uses free tags, the `taxonomy_facets_term_node` table is not being updated.
When I manually run the index update though, searching still doesn't work. The terms show up in the Faceted Search UI, but when I click on them, I get a page with the message "Your search yielded no results". Here is an example URL:
http://drupal.local/faceted_search/results/na/extract/relevance/na/taxon...
I'm not an expert at the internals of modules, or of drupal itself, but I tracked down the function `_query($query1, $query2)` in the faceted_search.inc file. The last condition, checking $this->_results_count == 0, always returns true.
If you have any ideas on what could be causing this, I'd be happy to hear. If you need any more information, please let me know.
Thanks.
Comments
Comment #1
David Lesieur commentedThank you for this detailed report. I'll see if I can reproduce the bug.
Comment #2
David Lesieur commentedI just realized that free tags do not have the same data structure as other terms when the node form is submitted. These will need special treatment in the Taxonomy Facets module (in its hook_nodeapi).
About the fact that clicking a term from the UI yields no results, I've found that it is another bug.
Comment #3
sublick commentedI'll check the hook_nodeapi function when I'm back at work on monday. I'll give it a shot with normal taxonomy terms to make sure, then work on w fix. I didn't even think to update the search module's index when I didn't get any results, but that sounds like it could be the problem.
Thanks a lot for looking into this!
And hello from BC. I've been to Montréal, and it's awesome :)
Comment #4
sublick commentedYou're right: The regular search index just had to be updated. All of the terms show up, and they find the nodes without problem. Thanks again :)
Comment #5
David Lesieur commentedI'll leave this issue open, because it's still a bug that free tags don't get inserted in the taxonomy_facets_term_node table when a node is submitted.
Comment #6
David Lesieur commentedJust committed a fix for this. Free tags should now work without having to manually rebuild the Taxonomy Facets index.
Comment #7
(not verified) commented