Skip to content

Commit

Permalink
added a dedicated HashedStringEntry rather then fall back to StringEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
bleskes committed Mar 22, 2013
1 parent 72ccc35 commit 85c2515
Show file tree
Hide file tree
Showing 11 changed files with 493 additions and 196 deletions.
36 changes: 18 additions & 18 deletions pom.xml
Expand Up @@ -33,24 +33,6 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>0.20.2</id>
<activation>
<property>
<name>env.ES</name>
<value>0.20.2</value>
</property>
</activation>
<dependencies>
<dependency>
<!-- hard requirement for testing -->
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>[0.20.2]</version>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>0.20.4</id>
<activation>
Expand All @@ -69,6 +51,24 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>0.20.5</id>
<activation>
<property>
<name>env.ES</name>
<value>0.20.5</value>
</property>
</activation>
<dependencies>
<dependency>
<!-- hard requirement for testing -->
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>[0.20.5]</version>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>

</profiles>
<build>
Expand Down
Expand Up @@ -33,7 +33,7 @@ public String description() {
public void processModule(Module module) {
if (module instanceof FacetModule) {
((FacetModule)module).addFacetProcessor(FacetedDateHistogramFacetProcessor.class);
((FacetModule)module).addFacetProcessor(HashedStringFacetProcessor.class);
((FacetModule)module).addFacetProcessor(HashedStringsFacetProcessor.class);
}
if (module instanceof ActionModule) {
((ActionModule)module).registerAction(CacheStatsPerFieldAction.INSTANCE, TransportCacheStatsPerFieldAction.class);
Expand Down

0 comments on commit 85c2515

Please sign in to comment.