Foren

Custom Indexer and Search : no results

thumbnail
Paul ., geändert vor 12 Jahren.

Custom Indexer and Search : no results

Liferay Master Beiträge: 522 Beitrittsdatum: 29.08.11 Neueste Beiträge
I am trying to build a custom indexer implementation, however when I check a similar query I get results from lunce but not for my custom created query.
The results are there when directly checked with Luke on indexes.
Some details:-

The query that gives results in liferay
Search query +(+((+(entryClassName:com.liferay.portal.model.User) +(active:true)))) +(+(screenName:*test*))

this one gives results in Luke but not in Liferay
Search query +(+((+(entryClassName:com.liferay.portal.model.XXX)))) +(+(CustomText:*static*))


I have overridden the doGetDocument of BaseIndexer in my custom indexer and added the field to indexes:
document.addText("CustomText", "some static custom text");

Any clues?