Skip to content

Commit

Permalink
Issue healthonnet#16 Multi-word synonyms not been expandend as expect…
Browse files Browse the repository at this point in the history
…ed when using extra terms in the query
  • Loading branch information
rmerizalde committed Apr 13, 2013
1 parent d16e875 commit a99e191
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -462,9 +462,6 @@ private List<String> buildUpAlternateQueries(SolrParams solrParams, List<List<Te
// make a defensive clone for future usage
originalAlternateQuery = (AlternateQuery) currentAlternateQuery.clone();
}
} else if (k == textsInQuery.size() - 1) {
// we're sure we're the last one to use it, so we can just use the original clone
currentAlternateQuery = originalAlternateQuery;
} else {
// need to clone to a new object
currentAlternateQuery = (AlternateQuery) originalAlternateQuery.clone();
Expand Down

0 comments on commit a99e191

Please sign in to comment.