Fórumok

Lucene/Solr Query always converts in lowercase Liferay 6.2

thumbnail
Gaurang Sheladia, módosítva 9 év-val korábban

Lucene/Solr Query always converts in lowercase Liferay 6.2

Regular Member Bejegyzések: 159 Csatlakozás dátuma: 2009.02.15. Legújabb bejegyzések
Hi,

Currently i am using Liferay6.2 with integration of Solr 4.7.

Now i am making a Boolean Query from my custom portlet to get data by StructureId (Name) or any other field.

My data has been indexed with Case Sensitive but while i am making a Boolean query and executing it always converting my value to Lowercase.

Do i need to update my any configuration file OR any modification required in search-spring.xml?

Appreciate your input.

Thanks in advance!

Best Regards,
Gaurang
prabhu narayanan, módosítva 9 év-val korábban

RE: Lucene/Solr Query always converts in lowercase Liferay 6.2

New Member Bejegyzések: 2 Csatlakozás dátuma: 2015.01.05. Legújabb bejegyzések
I am facing same issue..Can somebody share this ASAP? I have been trying to solve this past 2 days.
Niccolò Pasquetto, módosítva 9 év-val korábban

RE: Lucene/Solr Query always converts in lowercase Liferay 6.2

New Member Bejegyzések: 13 Csatlakozás dátuma: 2013.04.11. Legújabb bejegyzések
Gaurang Sheladia:

Now i am making a Boolean Query from my custom portlet to get data by StructureId (Name) or any other field.


Hello Gaurang, I have encountered the same behavior , BUT if the problem is limited to the creation of a custom query to select web content based on the "structureId" you can use the value of the field "classTypeId" that must be equal to structureId that you want to search.

Niccolò