<?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 WCM and Search in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wcm-and-search/m-p/147050#M102682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've referenced XMLMetadata Extractor sample. I uncomment wcm-xml-metadata-extracter-context.xml in Alfresco extension. Then I added the sample file into a web project and clicked 'view-detail'. OK, it&amp;nbsp; extracted title, description,author well. Next I used simple-search script in the website framework to test search.It worked well too. But my goal is use advanced search. Ex, I want to search in title or author or description…. Can you tell me how to achieve it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found in the mapping file these properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;namespace.prefix.fm=&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/forum/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/forum/1.0&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The prefix fm behaves like type, isn't it? that means I can query like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var luceneStr = "TYPE:\"{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/forum/1.0}fm\" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/forum/1.0}fm\&lt;/A&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But It throws error message when I used it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In web project I have 2 web forms article and news for example. So I need 2 xml extractor and 2 namespace prefix, right? Then In my site, If I allow user to search no matter what the content is in article or news, I must use combined query, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope these guys help me&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Van&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 08:12:30 GMT</pubDate>
    <dc:creator>iapilgrim</dc:creator>
    <dc:date>2008-01-04T08:12:30Z</dc:date>
    <item>
      <title>WCM and Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-and-search/m-p/147050#M102682</link>
      <description>Hi all,I've referenced XMLMetadata Extractor sample. I uncomment wcm-xml-metadata-extracter-context.xml in Alfresco extension. Then I added the sample file into a web project and clicked 'view-detail'. OK, it&amp;nbsp; extracted title, description,author well. Next I used simple-search script in the website</description>
      <pubDate>Fri, 04 Jan 2008 08:12:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-and-search/m-p/147050#M102682</guid>
      <dc:creator>iapilgrim</dc:creator>
      <dc:date>2008-01-04T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: WCM and Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wcm-and-search/m-p/147051#M102683</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 am not too sure about this area , but&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;namespace.prefix.fm=&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/forum/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/forum/1.0&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is defining a prefix for a namesoace, no more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Into which properties does your metadata extractor put its information?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What types and aspects does the node have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have extracted the data into common alfresco properties you would build the queries exactly as before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using advanced search or writing your own lucene queries?&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, 15 Jan 2008 14:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wcm-and-search/m-p/147051#M102683</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2008-01-15T14:36:20Z</dc:date>
    </item>
  </channel>
</rss>

