Skip to content

Commit

Permalink
Adjusting Format 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-moessner committed Oct 7, 2024
1 parent 86cb008 commit ddf3508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logprep/filter/lucene_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,13 @@ def __init__(self, tree: luqum.tree, special_fields: dict = None):
# DEPRECATION: regex_fields are no longer necessary.
logger.warning(
"[Deprecation]: special_fields are no longer necessary. "
"Use Lucene regex annotation for filter. "
"Use Lucene regex annotation for filter. "
)

self._last_search_field = None

def recognize_regex_and_add_special_fields(self):
"""Recognize regex expressions in filter and add those fields to regex_fields. """
"""Recognize regex expressions in filter and add those fields to regex_fields."""
for child in self._tree.children:
try:
value = child.children[0].value[1:-1]
Expand Down

0 comments on commit ddf3508

Please sign in to comment.