<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: lucene search does not work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22822#M9932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The query in itself is guaranteed to never match anything. You are looking for a node at a very specific path that should be a document-like type without allowing the query to include any result below that path (e.g. files inside a folder). The path that you use explicitly addresses a folder, so by combining that with the type condition you get zero results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query should be:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;PATH:"/app:company_home//*" AND TYPE:"cm:content"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(to match all documents anywhere below the Company Home node (root). But honestly speaking, if you perform that query you could also simply drop the path since in a standard Alfresco you will never find any cm:content in a different root path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2017 12:50:42 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-02-22T12:50:42Z</dc:date>
    <item>
      <title>lucene search does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22821#M9931</link>
      <description>lucene search does not work：parameters&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ATH:"/app:company_home" AND TYPE:"cm:content"I'm sure there's something，but the&amp;nbsp;result is zero</description>
      <pubDate>Wed, 22 Feb 2017 10:23:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22821#M9931</guid>
      <dc:creator>yvanme</dc:creator>
      <dc:date>2017-02-22T10:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: lucene search does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22822#M9932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The query in itself is guaranteed to never match anything. You are looking for a node at a very specific path that should be a document-like type without allowing the query to include any result below that path (e.g. files inside a folder). The path that you use explicitly addresses a folder, so by combining that with the type condition you get zero results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query should be:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;PATH:"/app:company_home//*" AND TYPE:"cm:content"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(to match all documents anywhere below the Company Home node (root). But honestly speaking, if you perform that query you could also simply drop the path since in a standard Alfresco you will never find any cm:content in a different root path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 12:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22822#M9932</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-02-22T12:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: lucene search does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22823#M9933</link>
      <description>&lt;P&gt;Hello Afus master,&lt;/P&gt;&lt;P&gt;i have a similar problem.&lt;/P&gt;&lt;P&gt;My lucene query is:&lt;/P&gt;&lt;P&gt;&lt;!-- StartFragment  --&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;+PATH:"/app:company_home/myFolder/* " AND ( KEYWORDS\:"with")&lt;/FONT&gt; &lt;/SPAN&gt;&lt;!-- EndFragment  --&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;In myFolder there is a file text with this content:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;Document with attachment.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;The query does not return the file.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;Buf, if i use this query:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;+PATH:"/app:company_home/myFolder/* " AND ( KEYWORDS\:"with attachment")&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;or i use this query:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;+PATH:"/app:company_home/myFolder/* " AND ( KEYWORDS\:"Document with")&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;The query return the file.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;What could be the problem?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="Consolas" size="2"&gt;Giuseppe&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:18:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22823#M9933</guid>
      <dc:creator>GiuseppeAcquaro</dc:creator>
      <dc:date>2020-10-21T16:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: lucene search does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22824#M9934</link>
      <description>&lt;P&gt;The word "with" is a stop / fill word. It is so common that it is "worthless" from a search perspective. For that reason, it is transparently filtered out both during indexing and querying. That is why you only find your document when you add additional search terms - you are only matching on those, not ther combination with "with".&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 22:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-does-not-work/m-p/22824#M9934</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-10-21T22:02:14Z</dc:date>
    </item>
  </channel>
</rss>

