<?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: Unable to search on name fragment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16154#M7131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I generate searches similar to these for the simple/advanced search in the UI and I don't have any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. if you have an item called "release.gif"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then a search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:release*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:release*&lt;/A&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;will find it ok, and also a search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:*elease*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:*elease*&lt;/A&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;will also find it ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem in your searches in the use of quotes around the terms when searching against an attribute. E.g. you search for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TEXT:"*ani*"&lt;BR /&gt;( @\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:%22*ani*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:'*ani*&lt;/A&gt;") &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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;whereas if you change it to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TEXT:*ani*&lt;BR /&gt;( @\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:*ani*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:*ani*&lt;/A&gt;)&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;You should get the results you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2005 10:07:11 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2005-12-22T10:07:11Z</dc:date>
    <item>
      <title>Unable to search on name fragment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16153#M7130</link>
      <description>Hi all,I am constructing a lucene query to search for names (folder and content names – this is a field of type "cm:name").&amp;nbsp; I have a number of gifs that are named &amp;lt;stem&amp;gt;_ani.gif. The &amp;lt;stem&amp;gt; contains underscores.If I search for "ani.gif*", I get the results I want. If I use any other sea</description>
      <pubDate>Thu, 22 Dec 2005 02:11:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16153#M7130</guid>
      <dc:creator>hsjawanda</dc:creator>
      <dc:date>2005-12-22T02:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to search on name fragment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16154#M7131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I generate searches similar to these for the simple/advanced search in the UI and I don't have any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. if you have an item called "release.gif"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then a search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:release*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:release*&lt;/A&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;will find it ok, and also a search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:*elease*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:*elease*&lt;/A&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;will also find it ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem in your searches in the use of quotes around the terms when searching against an attribute. E.g. you search for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TEXT:"*ani*"&lt;BR /&gt;( @\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:%22*ani*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:'*ani*&lt;/A&gt;") &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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;whereas if you change it to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;TEXT:*ani*&lt;BR /&gt;( @\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:*ani*" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:*ani*&lt;/A&gt;)&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;You should get the results you are looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 10:07:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16154#M7131</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2005-12-22T10:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to search on name fragment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16155#M7132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sweet, this solved my other problem where I was getting an npe and it wasn't finding my file!&amp;nbsp; cool!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 birds with one stone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 17:50:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16155#M7132</guid>
      <dc:creator>rsfeir</dc:creator>
      <dc:date>2005-12-22T17:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to search on name fragment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16156#M7133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin, your tip fixed my problems :-)… it was stupid of me not to have seen that right away.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2005 03:56:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16156#M7133</guid>
      <dc:creator>hsjawanda</dc:creator>
      <dc:date>2005-12-29T03:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to search on name fragment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16157#M7134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be explicit….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using "" in a search like ns\:woof:"*and*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does a lucene phrase search - * is not treated as a wild card in phrase searches - it will split this into tokens. The default result is do an exact match for the token "*and*" (not tokens that match this pattern) which probably does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wildcards are only available outside phrase searches, e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ns\:woof:*and*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In phrase searches, the text is tokenised and '_' is used as a token separator. By default we use the StandardAnalyser for text. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you send me the null pointer exception and I will have a look at this??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 11:17:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-search-on-name-fragment/m-p/16157#M7134</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-01-04T11:17:03Z</dc:date>
    </item>
  </channel>
</rss>

