Indexing 1-3 Character Custom Fields
-
Ran into what is probably an edge case. Hoping there’s a work around though.
I have a custom field that contains between 1 and 3 numeric characters. I don’t want to set my indexing threshold to a one character word length but I do want this particular field to be searchable. Is there a filter to say “Respect the character indexing minimum except for this field?”
An alternative question: what’s the danger in setting the indexing threshold to one character? My gut says it’s too low but in testing, it actually seemed fine. Here are the term results:
# Documents in the index: 634 # 1 character min # Terms in the index: 96707 # 2 character min # Terms in the index: 95506 # 3 character min # Terms in the index: 93612
In case it matters, the site’s content is pretty fixed (meaning it wont be growing by any significant amount over time like a blog or a news site).
Cheers.
- The topic ‘Indexing 1-3 Character Custom Fields’ is closed to new replies.