Changes between Version 14 and Version 15 of HibernateSearch


Ignore:
Timestamp:
05/02/09 07:13:31 (16 years ago)
Author:
erikvaningen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HibernateSearch

    v14 v15  
    4040----
    4141
     42=== Implementation Analyzer ===
     43By default Hibernate Search is configured with the StandardFilter. One filter can be set via its configuration. Defining other has to be done via the Hibernate Search Annotations. An example of an annotation including StandardFilter, LowerCaseFilter and ISOLatin1AccentFilterFactory is this:
     44
     45@AnalyzerDef(tokenizer = @TokenizerDef(factory = StandardTokenizerFactory.class), filters = {
     46        @TokenFilterDef(factory = StandardFilter.class),
     47        @TokenFilterDef(factory = LowerCaseFilter.class),
     48        @TokenFilterDef(factory = ISOLatin1AccentFilterFactory.class)
     49})
     50
     51It is needed to add an extra library to the application according this Maven definition:
     52                <dependency>
     53                        <groupId>org.apache.solr</groupId>
     54                        <artifactId>solr-lucene-analyzers</artifactId>
     55                        <version>1.3.0</version>
     56                </dependency>
     57
     58For some reason Eclipse still keeps complaining about a org.apache.solr.analysis.TokenFilterFactory which should be added to the classpath. Running the artefact on the command line does not give any problem. For now this changes has not been committed. It has to be investigated whether there is really a problem or that this is an Eclipse bug (most likely).
     59
     60
     61----
     62
    4263=== Indexing ===
    4364
     
    5475
    5576
     77
     78
     79