Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52240

As a developer, I can update the value of a field of an indexed entity

    Details

      Description

      Use case: update only the "ranking" field, not the entire document

      Example API:

      Document existingDocument = Indexer.getDocument(ID);

      existingDocuent.addKeyword(bla, bla);
      existingDocuent.addKeyword(bla, bla);
      existingDocuent.addKeyword(bla, bla);

      SearchEngineUtil.updateDocument(
      getSearchEngineId(), category.getCompanyId(), existingDocuent,
      isCommitImmediately());

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            eudaldo.alonso Eudaldo Alonso
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.0 M5