Simon Willnauer created LUCENE-4809:
---------------------------------------
Summary: 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.1, 4.0
Reporter: Simon Willnauer
Priority: Minor
Fix For: 4.2, 5.0
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: [email protected]
For additional commands, e-mail: [email protected]