lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: BlockJoinFacetComponent on solr 4.10
Date Tue, 03 May 2016 15:21:56 GMT
On 5/2/2016 2:59 AM, tkg_cangkul wrote:
> hi i wanna asking a question about using
>
>
>     BlockJoinFacetComponent 
>
> in solr 4. how can i use that library on solr 4.10.4
> i want to install casebox with solr 4.10.4 but i have this error.
>
<snip>
>
> when i check in solr-core-4.10.4.jar there is no class Block JoinFacet
> COmponent. i found it in solr-core.6.0.0.jar . is it any try for me to
> can use it on solr 4.?
> pls help

The BlockJoinFacetComponent class was introduced in Solr 5.5.

https://issues.apache.org/jira/browse/SOLR-5743

The error you are seeing is because of this text in the solrconfig.xml
provided with casebox:

<searchComponent name="blockJoinFacet"
class="org.apache.solr.search.join.BlockJoinFacetComponent">
</searchComponent>

Removing that XML and any other XML where that component is referenced
would fix the error, but I would imagine that that casebox would not
work correctly after the change.

I do not know if you can copy the class from a newer version into the
4.10 source code.  From what I've seen, Solr code changes so fast from
release to release that you would probably run into big problems trying
to adapt a plugin that's intended for 5.5 and newer to a 4.x version. 
Even if you copy the code for the missing class, that code probably
depends on other changes and additions that have happened in the many
releases between 4.10.4 and 5.5.

Your best bet is to talk to the casebox people.  They can tell you
exactly what is required for their software, and whether or not they are
willing to support such an old version of Solr.  If I had to guess, they
probably *can't* support older Solr in their newest versions.  Their
software probably relies on capability (like BlockJoinFacetComponent)
only available in newer Solr versions.

If you were to use a version of casebox before March 15th, it *might*
work.  This commit was made on that date, and among other changes, added
BlockJoinFacetComponent to solrconfig.xml:

https://github.com/KETSE/casebox/commit/3fdc48564efd35e8a0229cb86bdab0ad4f493511

Thanks,
Shawn


Mime
View raw message