<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Making lucene search case Insensitive</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=14091037" />
  <subtitle>Making lucene search case Insensitive</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=14091037</id>
  <updated>2026-05-02T15:50:48Z</updated>
  <dc:date>2026-05-02T15:50:48Z</dc:date>
  <entry>
    <title>RE: Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16619319" />
    <author>
      <name>srikanth a</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=16619319</id>
    <updated>2012-09-23T13:22:12Z</updated>
    <published>2012-09-23T13:22:12Z</published>
    <summary type="html">Hi Hitoshi,&lt;br /&gt;                        I have found that file and assed my new entri like below.&lt;br /&gt;&lt;br /&gt;&amp;lt;entry key=&amp;#34;portletId&amp;#34; value-ref=&amp;#34;org.apache.lucene.analysis.standard.StandardAnalyzer&amp;#34; /&amp;gt;&lt;br /&gt;&lt;br /&gt;and copied search-spring.xml in my application and deployied. but still it is not fetching the results. Am i doing any mistake.&lt;br /&gt;Please suggest me the correct path...its very urgent&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;regards&lt;br /&gt;Sri</summary>
    <dc:creator>srikanth a</dc:creator>
    <dc:date>2012-09-23T13:22:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14143216" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14143216</id>
    <updated>2012-05-28T21:46:11Z</updated>
    <published>2012-05-28T21:46:11Z</published>
    <summary type="html">&lt;blockquote&gt;Kindly tell me where can i create the xml and put the new analyzer. &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Did you read Brian Chan&amp;#39;s comment in the LPS?&lt;br /&gt;&lt;br /&gt;search-spring.xml is under the following directory in liferay source.&lt;br /&gt;liferay-portal-src-6.1.0-ce-rc1\portal-impl\src\META-INF</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-05-28T21:46:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14138435" />
    <author>
      <name>srikanth a</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14138435</id>
    <updated>2012-05-28T09:56:50Z</updated>
    <published>2012-05-28T09:56:50Z</published>
    <summary type="html">Hi Hitoshi,&lt;br /&gt;                           Thank you for the response . Kindly tell me where can i create the xml and put the new analyzer. &lt;br /&gt;&lt;br /&gt;regards&lt;br /&gt;Sri</summary>
    <dc:creator>srikanth a</dc:creator>
    <dc:date>2012-05-28T09:56:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14096418" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14096418</id>
    <updated>2012-05-24T13:26:21Z</updated>
    <published>2012-05-24T13:26:21Z</published>
    <summary type="html">There used to be  lucene.analyzer setting in portal-ext.properties where it was possible to specify lucene analyzer. It seems to have been moved in 6.1.&lt;br /&gt;http://issues.liferay.com/browse/LPS-16895&lt;br /&gt;&lt;br /&gt;Try specifying StandardAnalyzer there.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-05-24T13:26:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14095164" />
    <author>
      <name>Sandip Patel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14095164</id>
    <updated>2012-05-24T12:41:19Z</updated>
    <published>2012-05-24T12:41:19Z</published>
    <summary type="html">HI Shrikanth,&lt;br /&gt;         &lt;br /&gt;                     As per my knowledge,  please check with below code,&lt;br /&gt; &lt;br /&gt;                    BooleanQuery searchQuery = BooleanQueryFactoryUtil.create();&lt;br /&gt;                    searchQuery.addTerm(&amp;#34;screenName&amp;#34;, keywords, true);&lt;br /&gt;&lt;br /&gt;                      In search query while you addTerm give one extraparameter boolean--&amp;gt; true. This may solve your prob.</summary>
    <dc:creator>Sandip Patel</dc:creator>
    <dc:date>2012-05-24T12:41:19Z</dc:date>
  </entry>
  <entry>
    <title>Making lucene search case Insensitive</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14091036" />
    <author>
      <name>srikanth a</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=14091036</id>
    <updated>2012-05-24T08:25:32Z</updated>
    <published>2012-05-24T08:25:32Z</published>
    <summary type="html">Hi All,&lt;br /&gt;               I am working with lucene index for the first time. I am facing few issues with it. I have few queries.&lt;br /&gt;&lt;br /&gt;1. Is lucene search is case Sensitive.&lt;br /&gt;2. How to make it Insensitive in liferay.&lt;br /&gt;&lt;br /&gt;             I am passing a value for searching in the query. But i am not able to get the proper results because the query which booleanQuery creates is in lowercase.&lt;br /&gt;The values which lucene stores in capital letter. Because of this iam not able to get the results.&lt;br /&gt;&lt;br /&gt;Kindly do post your ideas to resolve it.&lt;br /&gt;&lt;br /&gt;regards&lt;br /&gt;Sri</summary>
    <dc:creator>srikanth a</dc:creator>
    <dc:date>2012-05-24T08:25:32Z</dc:date>
  </entry>
</feed>
