<?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: Lucene search Vs Solr search varies after upgrade in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306537#M259667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Alex once again for detailed information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fir now, I did post query check of the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time to explore Solr!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 07:13:19 GMT</pubDate>
    <dc:creator>nikes</dc:creator>
    <dc:date>2014-10-31T07:13:19Z</dc:date>
    <item>
      <title>Lucene search Vs Solr search varies after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306533#M259663</link>
      <description>Hello,We just upgraded from 3.4.x to 4.2.x, and also move from Lucene to SOLR.Talking about group search,We have following example groups:1) ABC2) ABC_1If I use following query in NodeBrowser, it returns both the above groups (4.2.x and SOLR)+TYPE:"{http://www.alfresco.org/model/content/1.0}authorit</description>
      <pubDate>Fri, 10 Oct 2014 05:40:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306533#M259663</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2014-10-10T05:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search Vs Solr search varies after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306534#M259664</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;between 3.4 and 4.2 there have been several significant improvements in search functionality and removal of some rather unfortunate hard-coded special cases. Search was not supposed to be case-sensitive before, but authorityName was a property that may have been handled differently in the past. Any searches you make via a query language are never guaranteed to return case-sensitive matches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your use case of finding a group by a particular name, using search does not seem to be the appropriate way. What about using the AuthorityService.getAuthorityNodeRef() / People.getGroup() / NodeService.getChildAssocsByPropertyValue() which can all be used to select on authorityName and will be return case-sensitive matches?&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>Mon, 13 Oct 2014 10:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306534#M259664</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-10-13T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search Vs Solr search varies after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306535#M259665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Alex for quick response and your time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually expected result should be case-insensitive but with exact phrase group name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) APP_ALFRESCO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) APP_alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) APP_ALFRESCO123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) APP_ALFRESCO_XYZ&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I search for "APP_ALFRESCO", it should return,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;APP_ALFRESCO and APP_alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT, it returns all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) APP_ALFRESCO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) APP_alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) APP_ALFRESCO123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) APP_ALFRESCO_XYZ&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Playing with AuthorityService, NodeService etc will return exact and not case-insensitive match I guess (Please correct if I am wrong)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything we can check in SOLR schema.xml and configure any related properties?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 14:33:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306535#M259665</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2014-10-14T14:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search Vs Solr search varies after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306536#M259666</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;the reason APP_ALFRESCO also matches APP_ALFRESCO123 is due to tokenisation during indexing. It is part of the fuzzyness that FTS provides to provide matches even if the spelling is a bit different, e.g. between singular and plural forms of a term. This also affects identifiers that use non-alphanumeric characters and/or a mix of alpha and numeric characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every non-alphanumeric character and each transition between alpha and numeric characters is a boundary at which indexing will create sub-terms for the input so far. E.g. APP_ALFRESCO_XYZ will be indexed using the terms "app", "appalfresco" and "appalfrescoxyz" and the search query will look for the term "appalfresco" which it finds for APP_ALFRESCO_XYZ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need exact matches either use the AuthorityService, NodeService etc. (because those do proper database queries) or do a post-query check of the results in your code.&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>Thu, 23 Oct 2014 16:27:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306536#M259666</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-10-23T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search Vs Solr search varies after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306537#M259667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Alex once again for detailed information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fir now, I did post query check of the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time to explore Solr!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 07:13:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-vs-solr-search-varies-after-upgrade/m-p/306537#M259667</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2014-10-31T07:13:19Z</dc:date>
    </item>
  </channel>
</rss>

