Foren
Lucene and type of Analyzer
Luca Preziati, geändert vor 14 Jahren.
Lucene and type of Analyzer
Regular Member Beiträge: 120 Beitrittsdatum: 09.02.09 Neueste Beiträge
In the class LuceneUtil is used the analyzer WhitespaceAnalyzer.
In my study on lucene is always suggest to use StandardAnalyzer, also for remove stop word. I also try user StopAnalyzer.
I try to change to it, but reindexing take many time and doens't seem work. Does someone try to change it?
What is the motivation of use the whitespaceAnalyzer?
In my study on lucene is always suggest to use StandardAnalyzer, also for remove stop word. I also try user StopAnalyzer.
I try to change to it, but reindexing take many time and doens't seem work. Does someone try to change it?
What is the motivation of use the whitespaceAnalyzer?
Edson Lek Ma, geändert vor 11 Jahren.
RE: Lucene and type of Analyzer
New Member Beiträge: 6 Beitrittsdatum: 28.07.11 Neueste Beiträge
I'm trying to find something about changing the default Lucene Analyzer to BrazilianAnalyzer but I didn't find anything on the web.
Before liferay 6.1, the portal.properties has some parameter that could switch easily but now I am lost.
If someone knows how to do that.. please show me the path!
Thanks in Advance
Cheers
Edson Ma
Before liferay 6.1, the portal.properties has some parameter that could switch easily but now I am lost.
If someone knows how to do that.. please show me the path!
Thanks in Advance
Cheers
Edson Ma
Hitoshi Ozawa, geändert vor 11 Jahren.
RE: Lucene and type of Analyzer
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Edson, please stop posting the same question multiple times.
http://www.liferay.com/community/forums/-/message_boards/message/16898098
http://www.liferay.com/community/forums/-/message_boards/message/16898098
Hitoshi Ozawa, geändert vor 11 Jahren.
RE: Lucene and type of Analyzer
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
This is an old thread but just for records,
StandardAnalyzer uses dictionary so that's why it requires more time.
WhitespaceAnalyzer splits input string along whitespaces but not along punctuation.
StandardAnalyzer uses dictionary so that's why it requires more time.
WhitespaceAnalyzer splits input string along whitespaces but not along punctuation.