<?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 How does xPath search work? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306057#M259187</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;&amp;nbsp;&amp;nbsp; Can any one explain me how does xpath search works in node browser?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 13:19:53 GMT</pubDate>
    <dc:creator>mrinal3199</dc:creator>
    <dc:date>2014-06-02T13:19:53Z</dc:date>
    <item>
      <title>How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306057#M259187</link>
      <description>Hi,&amp;nbsp;&amp;nbsp; Can any one explain me how does xpath search works in node browser?Thanks,Mrinal&amp;nbsp;</description>
      <pubDate>Mon, 02 Jun 2014 13:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306057#M259187</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-06-02T13:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306058#M259188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you already read the documentation? For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.1/references/API-JS-xpathSearch.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/references/API-JS-xpathSearch.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have and you still have questions, please provide specifics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 15:12:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306058#M259188</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-06-02T15:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306059#M259189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying this in Javascript as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; var query = "/app:company_home/st:sites/cm:siteName/cm:documentLibrary/cm:FolderName/*[@cm:name='Content Name']";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; var nodes = search.xpathSearch(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this function search.xpathSearch(query) seem to be not working fine. Am i doing any wrong here? So, i tried in node browser also but i am not getting anything. So, do hep me plz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 05:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306059#M259189</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-06-03T05:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306060#M259190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/web-scripts/failed-execute-xpath-xpathsearch-06112009-1017" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/web-scripts/failed-execute-xpath-xpathsearch-06112009-1017&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:11:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306060#M259190</guid>
      <dc:creator>sanket</dc:creator>
      <dc:date>2014-06-03T08:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306061#M259191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sanket,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for replying…I had already done through lucene search but my requirement is different. Lucene is full text search and i want an exact term search. Means if i am searching for "Test", i should get noderef of contents having content field value equal to "Test" only not like "Test A*". SO, can you help me writing correct syntax for xpath or any other way to get the exact term search results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 11:25:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306061#M259191</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-06-04T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306062#M259192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lucene is more than what you called full text search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can search for a single term,for an exact term,for fields,for ranges and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example if you&amp;nbsp; search nodes under company home&amp;nbsp; and count property is 12, and cm:title field contains "test":&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; +PATH:"/app:company_home//*"&lt;BR /&gt; +@cm\:title:"test"&lt;BR /&gt; +@cm\:count:12&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 15:55:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306062#M259192</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-04T15:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306063#M259193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The trick to an exact match search is that the property cannot be tokenized. This is controlled by the content model XML. Most fields are tokenized, ie, broken into tokens to facilitate searching within the field value. If a property is not tokenized you can do an exact match search against it. If you want to do an exact match against an out-of-the-box property that is tokenized you'll have to create a custom property that is not tokenized and use something like a behavior to keep the properties in sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 21:20:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306063#M259193</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-06-04T21:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How does xPath search work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306064#M259194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah actually everywhere i am ended up with this option only atlast for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks jeff, It was really helpfull. I got it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 05:56:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-does-xpath-search-work/m-p/306064#M259194</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-06-05T05:56:00Z</dc:date>
    </item>
  </channel>
</rss>

