Message Boards

Issue in searching and indexing custom Entity in Liferay 7.3

Fateme Akbari, modified 2 Years ago.

Issue in searching and indexing custom Entity in Liferay 7.3

New Member Posts: 2 Join Date: 6/24/20 Recent Posts
I want to enable searching for custom entity. but when I don't set groupId filed in service.xml, my result is empty.
is groupId field necessary for indexing?
I check http://localhost:9201/liferay-20098/_search my entities are indexed, but i don't know why Hits is empty
Ritu Kishore, modified 2 Years ago.

RE: Issue in searching and indexing custom Entity in Liferay 7.3

New Member Posts: 5 Join Date: 8/3/21 Recent Posts

Hi Fateme,

I know the post is quite old but I'm facing similar kind of issue like I haven't set groupId in my entity but my entity is indexable but search results hit is empty.

So can ypu please help me in resolving the issue.

Thanks.

 

thumbnail
Russell Bohl, modified 2 Years ago.

RE: RE: Issue in searching and indexing custom Entity in Liferay 7.3

Expert Posts: 291 Join Date: 2/13/13 Recent Posts

Ritu, instead of commenting on this post you should start your own--the OP was asking whether it's necessary to include the groupId (it seems like it is necessary--a search results widget disdplay results for a given site). But how can we know if youi're experienceing the same thing without the details of ytour situation being explained?