hi shawn, thx for your reply.

i've try to remove

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

and yes it works when i installing casebox but i don't know where is the change on casebox when i'm not include that class.
i will try to use a version of casebox before 15th march like your suggest.

Thx again for your help shawn.
:cheers

On 03/05/16 22:21, Shawn Heisey wrote:
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


Reply via email to