I have apache solr as a default search, and i have the custom search module to customize the search and provide kind of filtering options and i have content Taxonomy vocabularies as the filters. The normal key word search in the custom search is working good, but when i filter the search by any of those taxonomy filters, the search does not show up any results.
For example, i have article of content type scholarship and in that i have Gender as cck fields that is referenced to the content taxonomy vocabulary Gender and the list terms in that vocabulary are Male and Female. Now i have created a article with gender female checked. Now when i try to do the custom search with the Gender female selected, no results are showing up.
This is the url I get : http://localhost/drupal/search/apachesolr_search/scholarship?filters=tid:6
Any suggestion about this issue.
Comment | File | Size | Author |
---|---|---|---|
#5 | Custom Search Taxonomy.JPG | 52.93 KB | Yet Another User |
#5 | Custom Search Paths.JPG | 36.21 KB | Yet Another User |
#5 | Content type_Taxonomy_Field.JPG | 112.22 KB | Yet Another User |
custom search result.png | 90.81 KB | neeraj.jadhav | |
custom search taxonomy.png | 56.02 KB | neeraj.jadhav |
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedDo you know how the search url should be like? I don't use solr a lot…
Comment #2
jdanthinne CreditAttribution: jdanthinne commentedI've just fixed that for the 7.x version.
Can you tell me which version of the Solr Search module you're using with 6.x, so I can backport those fixes?
Comment #3
heddnThis is an old issue. I'm marking it fixed but if you disagree, please update and provide additional information.
Comment #5
Yet Another User CreditAttribution: Yet Another User commentedI have exactly the same issue. I have the exact situation as described by Neeraj in Issue Summary. I have attached the result which I get when I search anything with choosing a taxonomy. You can check the URL if you want.
I have attached the picture which shows the configuration setting of the Custom Search Paths in the Custom Search Module.
I have attached another picture, I have a content type called Events. The picture shows it's Manage Fields Column.
Here I am unable to configure the taxonomy field. Is it normal? I am new to Drupal, so want to make sure.
Thanks in advance.
Comment #6
Yet Another User CreditAttribution: Yet Another User commentedI have figured out the way.
Here is the link (just in case if anyone has the same query).
https://drupal.org/node/554656
I have not used any module instead I have created a view by following the steps given in the above link and it worked as the way I wanted.
Thanks.
Comment #7
jdanthinne CreditAttribution: jdanthinne commentedWell, it doesn't resolve this actual bug in Custom Search then… I'll have a look asap.
Comment #8
Yet Another User CreditAttribution: Yet Another User commentedThanks.