<?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 Problem with Advanced Search on Share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259422#M212552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a problem with Advanced Search on Share. Indeed, when I run a search on the word given, the result tells me that there is no document in the "Repository". However, I have several documents that contain the search word in either the text or metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On reading the message returned by the search reveals that the search engine only checks in the "Repository" and not sites. Or, actually, all my documents are created in the sites (DocumentLibrary).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Exite there a way to force the advanced search to search the documents also in the sites. If yes, could you please tell me where I can make the necessary changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; My setup is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; OS: Win Server 2003&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Alfresco Community Edition 3.4c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 13:29:17 GMT</pubDate>
    <dc:creator>3snet</dc:creator>
    <dc:date>2011-02-10T13:29:17Z</dc:date>
    <item>
      <title>Problem with Advanced Search on Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259422#M212552</link>
      <description>I have a problem with Advanced Search on Share. Indeed, when I run a search on the word given, the result tells me that there is no document in the "Repository". However, I have several documents that contain the search word in either the text or metadata.On reading the message returned by the searc</description>
      <pubDate>Thu, 10 Feb 2011 13:29:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259422#M212552</guid>
      <dc:creator>3snet</dc:creator>
      <dc:date>2011-02-10T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Advanced Search on Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259423#M212553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm getting the same problem…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone knows how to solve it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 14:34:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259423#M212553</guid>
      <dc:creator>rleones</dc:creator>
      <dc:date>2011-03-02T14:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Advanced Search on Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259424#M212554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In $TOMCAT_HOME\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\search\search.get.html.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Whe define Alfresco.Search, the parameter initialSearchTerm, do the search within lucene, so you can add the "ALL:" at the begining, this will search in all metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; ("${searchTerm?js_string}".length&amp;gt;0?"ALL:":"")+"${searchTerm?js_string}"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, in \webapps\share\components\search\search.js you must remove the "ALL:"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in Search_onReady() function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;// set initial value and register the "enter" event on the search text field&lt;BR /&gt;var queryInput = Dom.get(this.id + "-search-text");&lt;BR /&gt;queryInput.value = this.options.initialSearchTerm;&lt;BR /&gt;if(queryInput.value.length&amp;gt;4){&lt;BR /&gt;queryInput.value = queryInput.value.substring(4);&lt;BR /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;you also must modify search-min.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Test this please, i have another version of alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 15:30:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259424#M212554</guid>
      <dc:creator>cmarguello</dc:creator>
      <dc:date>2011-03-03T15:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Advanced Search on Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259425#M212555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco 3.4.c in Ubuntu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem. Several doc (pdfs format). What I have discovered is that I can find strings from the first pages of these documents ( They have arounf 170p and I can find word in the 40-50 first pages).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there is a limit in the size of words searchable per document. Anybody knows how to modify this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luis R.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 09:40:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-advanced-search-on-share/m-p/259425#M212555</guid>
      <dc:creator>orbitron</dc:creator>
      <dc:date>2011-03-24T09:40:35Z</dc:date>
    </item>
  </channel>
</rss>

