Unfortunately, don't know. We have index with 765 lines of mapping, 10K requests per day. We are using .NET library and message in error-log of our application is not meaningful: "System.NullReferenceException: Object reference not set to an instance of an object.". We don't use regex-queries, but our analyzers use regex. For example:
public class DigitCharFilter : PatternReplaceCharFilter
{
public DigitCharFilter()
{
Pattern = "\\D+";
Replacement = "";
}
}
public class WordDigitCharFilter : PatternReplaceCharFilter
{
public WordDigitCharFilter()
{
Pattern = "[^0-9a-zA-Zа-яА-ЯёЁ]";
Replacement = "";
}
}
public class WordDigitTokenizer : PatternTokenizer
{
public WordDigitTokenizer()
{
Pattern = "[^0-9a-zA-Zа-яА-ЯёЁ]";
}
}
Unfortunately this log is not helping much and we would need to see the actual query to understand more. We suspect that the source of this is a really big query with thousands of words may be triggering this problem.
One thing that you can do that could help tracking queries is to enable slowlogs. This wouldn't allow logging the actual query since it would get killed before getting a chance to be logged, but at least would log the other queries would could be similar.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.