<?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: How to have properties contribute to the node's TEXT index? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181622#M134752</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;TEXT is not a real field ionr he index. It is expanded at query time. By default it maps to d:content -&amp;gt; all properties of type content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can define what TEXT (and ALL) means on SearchParameters objects. You can add other fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no easy way to change the default - before you ask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 15:29:29 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2009-02-17T15:29:29Z</dc:date>
    <item>
      <title>How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181616#M134746</link>
      <description>Dear list,How can I achieve that a property's value is indexed in such a way that a Lucene TEXT query finds it?More precisely: I have a custom model, for instance like this:&amp;nbsp; &amp;lt;type name="my:node"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;My node&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;properties&amp;amp;g</description>
      <pubDate>Tue, 28 Oct 2008 15:57:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181616#M134746</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2008-10-28T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181617#M134747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I too would like to know how this is done, if its even possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been able to create custom models and extend the web client through the advanced search, but no idea how to do that for the 'simple search'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 20:24:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181617#M134747</guid>
      <dc:creator>benswitzer</dc:creator>
      <dc:date>2008-10-29T20:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181618#M134748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is possible to add custom properties to simple search, see&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ#Adding_Properties_to_Simple_Search" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ#Adding_Properties_to_Simple_Search&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 20:48:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181618#M134748</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2008-10-29T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181619#M134749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Loftux.&amp;nbsp; Works like a charm.&amp;nbsp; What I didn't realize was that I had to change the URI (duh).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of what I did:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mymodel.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;namespace uri="&lt;A href="http://www.mycontent.com/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.mycontent.com/model/content/1.0&lt;/A&gt;" prefix="mycontent"/&amp;gt;&lt;BR /&gt;&amp;lt;/namespaces&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;type name="mycontent:customType"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;My node&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mycontent:customProperty"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;/type&amp;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;/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;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;SPAN&gt;web-client-config-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;config&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;simple-search-additional-attributes&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;qname&amp;gt;{&lt;A href="http://www.mycontent.com/model/content/1.0}customProperty" rel="nofollow noopener noreferrer"&gt;http://www.mycontent.com/model/content/1.0}customProperty&lt;/A&gt;&amp;lt;/qname&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/simple-search-additional-attributes&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;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;/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;SPAN&gt;I have found it to work with both custom types and aspects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a bunch!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 12:08:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181619#M134749</guid>
      <dc:creator>benswitzer</dc:creator>
      <dc:date>2008-10-30T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181620#M134750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It is possible to add custom properties to simple search, see&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ#Adding_Properties_to_Simple_Search" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ#Adding_Properties_to_Simple_Search&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is definitely one way to solve the issue: &lt;/SPAN&gt;&lt;STRONG&gt;search&lt;/STRONG&gt;&lt;SPAN&gt; not just in TEXT but in all other proberties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be interested in a solution that &lt;/SPAN&gt;&lt;STRONG&gt;indexes&lt;/STRONG&gt;&lt;SPAN&gt; my properties to TEXT. Is it possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I ask is that our custom models have many, many properties, so using the former approach results in huge Lucene queries: TEXT:"blabla" OR @my\&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rop1:"blabla" or @my\&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rop2:"blabla" OR …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaspar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 20:57:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181620#M134750</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2008-10-30T20:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181621#M134751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Workaround: you could provide your own content transformers to prepend or append the property values when transforming to text/plain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I were you, I'd first ask the Lucene guys if it is at all possible, and then try to find a way to "plug" it in Alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 11:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181621#M134751</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2008-10-31T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to have properties contribute to the node's TEXT index?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181622#M134752</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;TEXT is not a real field ionr he index. It is expanded at query time. By default it maps to d:content -&amp;gt; all properties of type content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can define what TEXT (and ALL) means on SearchParameters objects. You can add other fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no easy way to change the default - before you ask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 15:29:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-properties-contribute-to-the-node-s-text-index/m-p/181622#M134752</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2009-02-17T15:29:29Z</dc:date>
    </item>
  </channel>
</rss>

