<?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: Exact lucene search in alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302235#M255365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Yogesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Here is the alternative which i want for the same purpose as you said with lucene query i can not achieve that. it might not be a alfresco solution but as i have to do it in alfresco, so, i am posting it here. My main problem is that I am retrieving a property(content field) value of a content from alfresco which may have html tags appended to them. I am retrieving it using content reader in java. And so, i am getting the content value along with html tags appended to it. Can any one please suggest me a way to remove all html tags and to get just the content part of that. For example: if a content value i am getting as "Test" which is appended with some html tags say p tag or ul tag etc., i want to get only "Test" from it. There may be other html tags even appended to it which is limitless.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 06:24:32 GMT</pubDate>
    <dc:creator>mrinal3199</dc:creator>
    <dc:date>2014-05-26T06:24:32Z</dc:date>
    <item>
      <title>Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302231#M255361</link>
      <description>Hi All,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have one requirement for searching for the exact phrase for a content field in share using lucene search. Can any one help me out in this. For example: If i am searching for "Test" phrase in any of the particular field of a content. It should return only those noderefs which are having</description>
      <pubDate>Thu, 22 May 2014 13:04:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302231#M255361</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-05-22T13:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302232#M255362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please refer the link .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/end-user-discussions/alfresco-explorer/exact-name-query-05012007-1713" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/end-user-discussions/alfresco-explorer/exact-name-query-05012007-1713&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:10:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302232#M255362</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2014-05-22T13:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302233#M255363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Yogesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the reply. Actually i don,t want to change the settings of my model or even standard anlyzer to keyword anlyzer. Is there any way to do it just through lucene search query. Because i wil need some where exact term search and somewhere as full text search also.\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 13:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302233#M255363</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-05-22T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302234#M255364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I dont think so using only lucene you can do that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 06:31:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302234#M255364</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2014-05-23T06:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302235#M255365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Yogesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Here is the alternative which i want for the same purpose as you said with lucene query i can not achieve that. it might not be a alfresco solution but as i have to do it in alfresco, so, i am posting it here. My main problem is that I am retrieving a property(content field) value of a content from alfresco which may have html tags appended to them. I am retrieving it using content reader in java. And so, i am getting the content value along with html tags appended to it. Can any one please suggest me a way to remove all html tags and to get just the content part of that. For example: if a content value i am getting as "Test" which is appended with some html tags say p tag or ul tag etc., i want to get only "Test" from it. There may be other html tags even appended to it which is limitless.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 06:24:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302235#M255365</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-05-26T06:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exact lucene search in alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302236#M255366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not able to understand how it is alternative approach for your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways for removing html tags from content, you can convert it in to string and from string you can easily remove html tags using regular expression.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 07:50:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exact-lucene-search-in-alfresco/m-p/302236#M255366</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2014-05-26T07:50:12Z</dc:date>
    </item>
  </channel>
</rss>

