<?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 searching problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18896#M8672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing a search problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Here I explain the problem:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; Suppose my application has a asset in the repository with a title(store as an aspect) "ash" in a prticular folder.Now i am going to search on this folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Search queries and there results &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1-Search query: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @\{http\://&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0\}title:ash" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}title:ash&lt;/A&gt;&lt;SPAN&gt; AND TYPE:"{&lt;/SPAN&gt;&lt;A href="http://www.alacre.com/cms/content-model-1.0}asset" rel="nofollow noopener noreferrer"&gt;http://www.alacre.com/cms/content-model-1.0}asset&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return the node that has a title "ash".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2-Search query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @\{http\://&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0\}title:a" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}title:a&lt;/A&gt;&lt;SPAN&gt; AND TYPE:"{&lt;/SPAN&gt;&lt;A href="http://www.alacre.com/cms/content-model-1.0}asset" rel="nofollow noopener noreferrer"&gt;http://www.alacre.com/cms/content-model-1.0}asset&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; return the node that has a title "ash".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why both query return the same result? :roll: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to write a query which return the node only when the searchString strictly match with the title of that particular node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2006 04:55:23 GMT</pubDate>
    <dc:creator>gashish</dc:creator>
    <dc:date>2006-01-31T04:55:23Z</dc:date>
    <item>
      <title>searching problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18896#M8672</link>
      <description>Hi Friends,I am facing a search problem. Here I explain the problem: Suppose my application has a asset in the repository with a title(store as an aspect) "ash" in a prticular folder.Now i am going to search on this folder. Search queries and there results 1-Search query: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @\{http\://www.alfres</description>
      <pubDate>Tue, 31 Jan 2006 04:55:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18896#M8672</guid>
      <dc:creator>gashish</dc:creator>
      <dc:date>2006-01-31T04:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: searching problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18897#M8673</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 normally use the prefix to set:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;required (+), &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;optional but at least one optional thing must match if there are no + or - entries (no prefix) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and not required (-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &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\}title:ash" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}title:ash&lt;/A&gt;&amp;nbsp; +TYPE:"{&lt;A href="http://www.alacre.com/cms/content-model-1.0}asset" rel="nofollow noopener noreferrer"&gt;http://www.alacre.com/cms/content-model-1.0}asset&lt;/A&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like A AND B is not the equivalent of +A +B for some reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is "A +B" - B must match and A is optional so in fact does not matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The token "a" would not normally be in the index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This probably returns nothing.&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\}title:a" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}title:a&lt;/A&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The only change I can recall to the default lucene query parser is to allow wild cards at the start of wild card expressions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have raised this. AR-384&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, 31 Jan 2006 09:37:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18897#M8673</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-01-31T09:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: searching problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18898#M8674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the query you posted but my problem still persist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashish Garg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2006 11:34:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18898#M8674</guid>
      <dc:creator>gashish</dc:creator>
      <dc:date>2006-01-31T11:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: searching problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18899#M8675</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;Are you doing this search through the UI using our Advanced search or are you building the lucene query direct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the query &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@\{http\://&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0\}title:a" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/content/1.0\}title:a&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;return results on its own? (with out the type restriction)&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>Thu, 02 Feb 2006 09:35:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18899#M8675</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-02-02T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: searching problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18900#M8676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I build my query through the UI interface.I used a general function that build up the query according the UI value. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashish Garg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 13:00:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-problem/m-p/18900#M8676</guid>
      <dc:creator>gashish</dc:creator>
      <dc:date>2006-02-02T13:00:47Z</dc:date>
    </item>
  </channel>
</rss>

