<?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>Documents And Media search. Change query.</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120134004" />
  <subtitle>Documents And Media search. Change query.</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120134004</id>
  <updated>2026-04-05T18:57:55Z</updated>
  <dc:date>2026-04-05T18:57:55Z</dc:date>
  <entry>
    <title>Documents And Media search. Change query.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120134003" />
    <author>
      <name>Alessandro Mari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120134003</id>
    <updated>2020-10-23T09:55:04Z</updated>
    <published>2020-10-23T09:55:04Z</published>
    <summary type="html">Hello,I have Liferay 7.2.&lt;br /&gt;I am using the &amp;#34;Documents And Media&amp;#34; widget.&lt;br /&gt;In front-end if I search with two words the portlet currently performs the search with OR. &lt;br /&gt;&lt;br /&gt;Is it possible to alter the query with AND in order to find files more precisely?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example, if a file is tagged &amp;#34;mario&amp;#34; and is called &amp;#34;fullname&amp;#34;, if I search with the keywords &amp;#34;mario fullname&amp;#34; it will only find that file which is named like this with the tag mario.&lt;br /&gt;&lt;br /&gt;Is it possible? If you come? Through Hook?&lt;br /&gt;&lt;br /&gt;Thank you</summary>
    <dc:creator>Alessandro Mari</dc:creator>
    <dc:date>2020-10-23T09:55:04Z</dc:date>
  </entry>
</feed>
