[ https://issues.apache.org/jira/browse/LUCENE-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer resolved LUCENE-4809. ------------------------------------- Resolution: Fixed > FuzzyLikeThisQuery fails if field does not exist or is not indexed with NPE > during rewrite > ------------------------------------------------------------------------------------------ > > Key: LUCENE-4809 > URL: https://issues.apache.org/jira/browse/LUCENE-4809 > Project: Lucene - Core > Issue Type: Bug > Components: modules/other > Affects Versions: 4.0, 4.1 > Reporter: Simon Willnauer > Priority: Minor > Fix For: 4.2, 5.0 > > Attachments: LUCENE-4809.patch > > > this occured here: https://github.com/elasticsearch/elasticsearch/issues/2690 > {noformat} > at > org.apache.lucene.sandbox.queries.SlowFuzzyTermsEnum$LinearFuzzyTermsEnum.<init>(SlowFuzzyTermsEnum.java:89) > at > org.apache.lucene.sandbox.queries.SlowFuzzyTermsEnum.maxEditDistanceChanged(SlowFuzzyTermsEnum.java:58) > at > org.apache.lucene.search.FuzzyTermsEnum.bottomChanged(FuzzyTermsEnum.java:211) > at org.apache.lucene.search.FuzzyTermsEnum.<init>(FuzzyTermsEnum.java:144) > at > org.apache.lucene.sandbox.queries.SlowFuzzyTermsEnum.<init>(SlowFuzzyTermsEnum.java:48) > at > org.apache.lucene.sandbox.queries.FuzzyLikeThisQuery.addTerms(FuzzyLikeThisQuery.java:209) > at > org.apache.lucene.sandbox.queries.FuzzyLikeThisQuery.rewrite(FuzzyLikeThisQuery.java:262) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org