Skip to content

Commit

Permalink
Setting index_analyzer incorrectly sets analyzer
Browse files Browse the repository at this point in the history
fixes #2329
  • Loading branch information
kimchy committed Oct 16, 2012
1 parent 3eaad15 commit 86d4d5e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ protected T indexName(String indexName) {

protected T indexAnalyzer(NamedAnalyzer indexAnalyzer) {
this.indexAnalyzer = indexAnalyzer;
if (this.searchAnalyzer == null) {
this.searchAnalyzer = indexAnalyzer;
}
return builder;
}

Expand Down

0 comments on commit 86d4d5e

Please sign in to comment.