<?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: Problems about searching with Lucene/Xpath in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problems-about-searching-with-lucene-xpath/m-p/185572#M138702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You must encode all the names of the spaces in your query with an ISO9075 encoding class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.webservice.util.ISO9075&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String path = "PATH:\"/app:company_home/cm:"+ISO9075.encode("ZOO")+"/cm:"+ISO9075.encode("INFO")+"/cm\:name:pets.xml\" AND&amp;nbsp; TEXT:\"DOG*\"";&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;In your query I think that you needed to add name property in your last condition of the query with cm\:name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2009 10:39:43 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2009-06-09T10:39:43Z</dc:date>
    <item>
      <title>Problems about searching with Lucene/Xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-about-searching-with-lucene-xpath/m-p/185571#M138701</link>
      <description>Hi all,I have an xml file stored into a space and i would like perform some searches from my web-client.In spite of this, I read http://wiki.alfresco.com/wiki/Search_Documentation but I have some problems about understanding the way that allows me to search informations I need.For example, if my xml</description>
      <pubDate>Wed, 15 Apr 2009 13:06:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-about-searching-with-lucene-xpath/m-p/185571#M138701</guid>
      <dc:creator>camillo</dc:creator>
      <dc:date>2009-04-15T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems about searching with Lucene/Xpath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-about-searching-with-lucene-xpath/m-p/185572#M138702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You must encode all the names of the spaces in your query with an ISO9075 encoding class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.webservice.util.ISO9075&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String path = "PATH:\"/app:company_home/cm:"+ISO9075.encode("ZOO")+"/cm:"+ISO9075.encode("INFO")+"/cm\:name:pets.xml\" AND&amp;nbsp; TEXT:\"DOG*\"";&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;In your query I think that you needed to add name property in your last condition of the query with cm\:name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 10:39:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-about-searching-with-lucene-xpath/m-p/185572#M138702</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-06-09T10:39:43Z</dc:date>
    </item>
  </channel>
</rss>

