This patch integrates the field with ApacheSolr so that field values can be filtered in facet blocks or returned in queries on the solr index.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | content_taxonomy_apachesolr_6x_2.patch | 9.17 KB | mcarbone |
| content_taxonomy-apachesolr-integration.patch | 4.21 KB | Anonymous (not verified) |
Comments
Comment #1
pwolanin commentedsubscribe for later
Comment #2
bennos commentedsubscribing
Comment #3
crea commentedsubs
Comment #4
mh86 commentedIs this patch ready to be committed?
I don't have time for setting up Apache Solr and test it myself but if bangpound or someone else can confirm, that the patch is working, I'm going to commit it.
Comment #5
Anonymous (not verified) commentedmh86,
It does the trick for me but it does not support hierarchy at all. If you commit it, don't tie it to a release. I think there's still a few more lines of code to write on this. If you want to hold, I can devote some attention to it later this week or next week.
Comment #6
YK85 commented+1 subscribing
Comment #7
xjmMarking "needs work" based on #5.
Comment #8
mcarbone commentedAttached is a patch that supports hierarchy, but:
1) It was written for the 6.x-2.0 branch of apachesolr; and
2) It's dependent on a patch I posted at #831994: apachesolr_search_nested_facet_items doesn't work for non-tid facets.
It probably wouldn't be very tricky to backport it for 6.x-1.0.
Comment #9
rhymeswithcamera commentedHmmm, I am missing something. How can you tell if the patch works? How are Content Taxonomy fields made available for faceted searching - through Apache Solr enabled filters or through code or ...?
I installed the first (non-hierarchy) patch; it ran without any errors. I deleted the index and rebuilt. I flushed the cache (for good measure). Nothing looks or acts different.
I'm running Content Taxonomy 6.x-1.x-dev and Apache Solr 6.x-2.x-dev.
Thanks for your help.
EDIT: Got it figured out. My CT fields are now visible as facets and work properly.
Comment #10
xjm