<?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: real-time search for property value in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268945#M222075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are also looking to do the same thing with querying properties (directly from the database).&amp;nbsp; Based on this feedback, we may be able to do something different, and heirarchically categorise the items of interest using the AttributeService.&amp;nbsp; In our case we are interested in a number of NodeRefs, so we could place the node references into a different path as described in the AttributeService interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only concern I have around this is long term performance.&amp;nbsp; If we were to maintain nodes of interest for a queuing implementation into the following heirarchies&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/pending&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/succeeded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If we're constantly clearing values for the&amp;nbsp; pending, succeeded and failed keys are we likely to be safe from performance issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Is it expected that data lingers in the AttributeService permanently based on a key mapping?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 11:49:04 GMT</pubDate>
    <dc:creator>jamen</dc:creator>
    <dc:date>2012-11-16T11:49:04Z</dc:date>
    <item>
      <title>real-time search for property value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268942#M222072</link>
      <description>For a project of ours we extended the metamodel with a property which adds a md5-hash to each documentNode to see whether the attached file is unique. I've created a OnContentUpdatePolicy behaviour that executes the needed code. In that code amongst others I made a lucenequery that searches for node</description>
      <pubDate>Mon, 23 Jul 2012 10:43:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268942#M222072</guid>
      <dc:creator>rkerckhoffs</dc:creator>
      <dc:date>2012-07-23T10:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: real-time search for property value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268943#M222073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your main problem with DB access will be that there is currently no existing functionality to query all nodes of the repository or a single store by the value of a property. So you would have to implement your own DAO for this. This can be very simple if you can re-use / adapt an already existing query (by this I mean copy &amp;amp; adapt it in your own MyBatis DAO context). I am not aware of any existing samples or documentation since interacting directly with the DB is a rather low-level aspect and should not be encouraged except for the rarest of cases that absolutely can't go without - after all, if done improperly, this may create a hell of a support issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am planning to write up a blog series on custom DAO next chance I have a bit more time on my hands. For a current project I provided a custom CannedQuery and in the past added some custom DAOs for arbitrary data (e.g. in the context of &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-10838" rel="nofollow noopener noreferrer"&gt;ALF-10838&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 14:33:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268943#M222073</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-07-24T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: real-time search for property value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268944#M222074</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;Properties are in general not easy to query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could use the attribute service or create secondary child associations from some check folder with the association named after the checksum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(The unique name constraint should throw out duplicates)&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, 01 Aug 2012 19:03:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268944#M222074</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-08-01T19:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: real-time search for property value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268945#M222075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are also looking to do the same thing with querying properties (directly from the database).&amp;nbsp; Based on this feedback, we may be able to do something different, and heirarchically categorise the items of interest using the AttributeService.&amp;nbsp; In our case we are interested in a number of NodeRefs, so we could place the node references into a different path as described in the AttributeService interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only concern I have around this is long term performance.&amp;nbsp; If we were to maintain nodes of interest for a queuing implementation into the following heirarchies&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/pending&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/succeeded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/queueCategory/failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. If we're constantly clearing values for the&amp;nbsp; pending, succeeded and failed keys are we likely to be safe from performance issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Is it expected that data lingers in the AttributeService permanently based on a key mapping?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 11:49:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/real-time-search-for-property-value/m-p/268945#M222075</guid>
      <dc:creator>jamen</dc:creator>
      <dc:date>2012-11-16T11:49:04Z</dc:date>
    </item>
  </channel>
</rss>

