<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Using SearchContext for searching JournalArtcile using elastic search ?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118473148" />
  <subtitle>Using SearchContext for searching JournalArtcile using elastic search ?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118473148</id>
  <updated>2026-04-05T09:18:52Z</updated>
  <dc:date>2026-04-05T09:18:52Z</dc:date>
  <entry>
    <title>RE: Using SearchContext for searching JournalArtcile using elastic search ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118476293" />
    <author>
      <name>Vikram Singla</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118476293</id>
    <updated>2020-02-11T11:01:32Z</updated>
    <published>2020-02-11T11:01:32Z</published>
    <summary type="html">I am using Liferay DXP 7.0 Like i have created a webcontent having a structure with fields like, Name, Roll no., Subjects(Language, Technical). In this structure, subjects is of type ,ddm-separator having the other two sub-fields. and Subjects is repeatable too.I am searching the jounral article using elastic search by extending journalarticleindexer.I am setting the fields of ddm structure and setting the same in QueryConfig. and using Booleanfilter for setting criteria of search.Then, after getting Hits. I am trying to get fileds using the Hit of type Document using, hit.get((string)queryconfig.getattribute(subjects)). this is giving me null.</summary>
    <dc:creator>Vikram Singla</dc:creator>
    <dc:date>2020-02-11T11:01:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Using SearchContext for searching JournalArtcile using elastic search ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118475514" />
    <author>
      <name>Jorge Diaz</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118475514</id>
    <updated>2020-02-11T07:04:38Z</updated>
    <published>2020-02-11T07:04:38Z</published>
    <summary type="html">Can you give more detail about your problem?&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;ul style="list-style: disc outside;"&gt;&lt;li&gt;Which Liferay version are you using?&lt;/li&gt;&lt;li&gt;What structure is the problematic one? Do you have any example?&lt;/li&gt;&lt;li&gt;How are you searching the Journal Article?&lt;/li&gt;&lt;li&gt;Where is the issue?&lt;/li&gt;&lt;/ul&gt;</summary>
    <dc:creator>Jorge Diaz</dc:creator>
    <dc:date>2020-02-11T07:04:38Z</dc:date>
  </entry>
  <entry>
    <title>Using SearchContext for searching JournalArtcile using elastic search ?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118473147" />
    <author>
      <name>Vikram Singla</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118473147</id>
    <updated>2020-02-11T06:07:24Z</updated>
    <published>2020-02-11T06:07:24Z</published>
    <summary type="html">I am using Liferay dependencies Journalarticleindexer  and elastic search features to search journalarticle and retreiving it&amp;#39;s contents from dmmstructure. I am facing issues when DDM structure is having a nested object type fields instead of just a single text type data. in that case hits.getattribute isn&amp;#39;t working. Anybody can help me on that?</summary>
    <dc:creator>Vikram Singla</dc:creator>
    <dc:date>2020-02-11T06:07:24Z</dc:date>
  </entry>
</feed>
