2.2.1.1. Global search index

2.2.1.1.1. Customized search indexes and analyzers
2.2.1.1.2. Fulltext search

The global search index is configured in the above-mentioned configuration file (repository-configuration.xml which can be found in various locations) in the query-handler tag.


<query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">

In fact, when using Lucene, you should always use the same analyzer for indexing and for querying, otherwise the results are unpredictable. You do not have to worry about this, JCR does this for you automatically. If you do not like the StandardAnalyzer to be configured by default, just replace it with your own.

If you do not have a handy QueryHandler, you can learn about how to create a customized QueryHandler in the Query Handler configuration section.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus