<?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 I really need help with Lucene querys in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46741#M26317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi people:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm really confused with lucene querys, it seems like documentation examples doesnt works all right. I'm trying to make a function to search by exact name, but the query doesn't works. This is the query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;"@cm\\:name:"+ "\""+name+"\""&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;BR /&gt;&lt;SPAN&gt;If name = "Test folder" for example it doesn't returns "Test Folder" only, it returns all files containing "Test" or "Folder" words. What's wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Dec 2006 11:15:42 GMT</pubDate>
    <dc:creator>jtorres</dc:creator>
    <dc:date>2006-12-18T11:15:42Z</dc:date>
    <item>
      <title>I really need help with Lucene querys</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46741#M26317</link>
      <description>Hi people:I'm really confused with lucene querys, it seems like documentation examples doesnt works all right. I'm trying to make a function to search by exact name, but the query doesn't works. This is the query:"@cm\\:name:"+ "\""+name+"\""‍‍‍If name = "Test folder" for example it doesn't returns</description>
      <pubDate>Mon, 18 Dec 2006 11:15:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46741#M26317</guid>
      <dc:creator>jtorres</dc:creator>
      <dc:date>2006-12-18T11:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: I really need help with Lucene querys</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46742#M26318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may have hit the issue where the 'short name' form of the URI used in search does not always work - the fully qualified form does work - can you try this instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@\{http\://&lt;A href="http://www.alfresco.org/model/content/1.0\}name:%22Test" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}name:'Test&lt;/A&gt; Folder"&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;BR /&gt;&lt;SPAN&gt;I generate this kind of search for the Simple/Advanced Search screens in the web-client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2006 16:51:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46742#M26318</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-12-18T16:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: I really need help with Lucene querys</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46743#M26319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kevin, I've allready tried this but the results are not allright. I suposse I'm doing something wrong or perhaps Lucene querys not perfect still. This is my query in Java:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;"@\\{http\\://&lt;A href="http://www.alfresco.org/model/content/1.0\\}name:%22+" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\\}name:'+&lt;/A&gt; "\""+filename+"\""&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;BR /&gt;&lt;SPAN&gt;Thanks for your help Kevin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 10:54:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46743#M26319</guid>
      <dc:creator>jtorres</dc:creator>
      <dc:date>2006-12-27T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: I really need help with Lucene querys</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46744#M26320</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;cm:name is tokenised - so its exact form is not in the index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Understanding_tokenisation" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Understanding_tokenisation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Do the search and then do a post filter for exact matches&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Try to do this in the query - which will always give some problems&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - the results should be an exact match for the phrase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Treat this field as an id - then it is never tokenised and always does an exact match.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the other matches?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are they equivalent except for stop words?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(eg 1) Test Folder &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) test and folder &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) test or folder&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&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, 02 Jan 2007 12:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/i-really-need-help-with-lucene-querys/m-p/46744#M26320</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-01-02T12:34:13Z</dc:date>
    </item>
  </channel>
</rss>

