<commit_before>defmodule Ello.Search.Post.Search do
  alias Ello.Core.{Content, Network}
  alias Ello.Search.TermSanitizer
  alias Ello.Search.Post.{Index, Trending}
  use Timex

  defstruct [
    index:          Index,
    terms:          nil,
    current_user:   nil,
    trending:       false,
    allow_nsfw:     false,
    allow_nudity:   false,
    query:          %{},
    language:       "en",
    category:       nil,
    images_only:    false,
    following:      false,
    results:        [],
    per_page:       25,
    page:           1,<commit_msg>Add default within_days value to search struct<commit_after>defmodule Ello.Search.Post.Search do
  alias Ello.Core.{Content, Network}
  alias Ello.Search.TermSanitizer
  alias Ello.Search.Post.{Index, Trending}
  use Timex

  defstruct [
    index:          Index,
    terms:          nil,
    current_user:   nil,
    trending:       false,
    within_days:    nil,
    allow_nsfw:     false,
    allow_nudity:   false,
    query:          %{},
    language:       "en",
    category:       nil,
    images_only:    false,
    following:      false,
    results:        [],
    per_page:       25,
    page:           1,
{'fraction_non_alphanumeric': 0.0945945945945946, 'fraction_numerical': 0.005067567567567568, 'mean_word_length': 1.8080568720379147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '406632', 'n_tokens_mistral': 388, 'n_tokens_neox': 387, 'n_words': 87}