Skip to Content
0
Apr 28, 2018 at 09:16 AM

Flexible search for only certain attributes

379 Views

Hello,

we have a hybris item type (lets call it "ExampleType") with the following attributes

 type: Enum (declared in items.xml)
 code String

The DB table for the type contains huge amount of data, so would like to select only the 2 above mentioned attribites. Is it possiblel still to get a list of "ExampleType" as search result, so that every element of the list has non-empty "type" and "code" attributes? I mean, the rest of the fields (for example "creationTime") should be empty in this case, since they don't interest us.

If not, are there alternatives ?

Thanks in advance!