cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Backoffice Advanced Search: search for realtional attribute value

voiv
Explorer
0 Kudos
1,166

Hi there,

I've faced the problem in Hybris 20.05 that in the advanced-search it isn't possible to search for a relational attribute value.

For example I've got the Type Foo which looks as followed:

Foo
---- Bar
-------- startTime
-------- endTime
---- Baz
-------- firstname
-------- lastname
---- etc.

The advanced-reference-search allows me to search e.g. an object of Type 'Bar' and then search 'Foo' for that result.

But this search is insufficient for our use-case because it's necessary e.g. to show all the Foo objects with the a given startTime (the other attributes of Bar can vary from result to result).

I've found this Question which says that the desired functionality wasn't available back in 2016.
Yet for Hybris 20.05 I haven't found any OOTB solution either.

Is there any know workaround for this problem

Thanks and kindest regards

Accepted Solutions (0)

Answers (1)

Answers (1)

ivaylo_ivanov4
Explorer
0 Kudos

Hi there,

Given the fact Advanced Search is based on Flexible Search service, I doubt that what you require will ever be implemented.

In some of our projects we handled similar requirements by utilizing SOLR and using combination of simple search, facets and filter widget for maximum flexibility. Check this blog for details.

Hope that helps!

voiv
Explorer
0 Kudos

Hi Ivaylo,
Thanks for your quick reply.

I've seen this blog-post before and I agree with you that this would work, if the type would be indexed.

But for our case it doesn't make sense to index the type.

Best regards