netgen / TagsBundle

Netgen Tags Bundle is an eZ Platform bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ezkeyword field type included in eZ Platform kernel.
https://netgen.io
GNU General Public License v2.0
48 stars 44 forks source link

"No visitor available" problem when using Elastic Search #156

Open orimk opened 1 year ago

orimk commented 1 year ago

Versions: ibexa/experience: "4.3.0", netgen/tagsbundle: "^5.0" (5.0.4)

When I try to click into a single tag in admin, I get this error: Intentionally not implemented: No visitor available for: Netgen\TagsBundle\API\Repository\Values\Content\Query\Criterion\TagId with operator =

Same with trying to use it in search (operator in). Something like this: $query = new LocationQuery(); $mainAndCriteria = [ NetgenCriterion\TagId(['683','684'], 'activities') ]; $query->filter = new Criterion\LogicalAnd($mainAndCriteria); $pager = new Pagerfanta( new ContentSearchAdapter($query, $this->searchService) ); Obviously, same with NetgenCriterion\TagKeyword(Operator::IN, ['Skiing']['Sledding'], 'activities');

What am I doing wrong? :)

emodric commented 1 year ago

Hi!

Are you perchance using Elastic Search? Tags Bundle does not support Elastic Search in Ibexa since it's not open source.

orimk commented 1 year ago

Yup, we were trying to use ES. Thanks for the reply!

emodric commented 1 year ago

Thanks for confirming!

I'll keep this open if someone wants to work on a fix for this, if that's okey with you @orimk

davidsayre commented 1 year ago

Hi, I'm wondering if you are open to 2 options

1) Can we hire NetGen to add ElasticSearch support to eztags? 2) Can you point us in the direction of how we would implement that and then we can send it as a merge request.

Can we contact you directly via email (not GitHub)? Thank you

emodric commented 1 year ago

@davidsayre Sure, you can contact us by mail with the same questions.

Do you know where to reach us? :)