LucidWorks support Forum » LucidWorks Enterprise

Special Input Query

(3 posts) (2 voices)
  • Started 1 year ago by u23297
  • Latest reply from u23297

Tags:

  • input
  • plural
  • result
  • searching
  • singular
  1. u23297
    Member

    Hi Guys,

    i've got a little problem and i hope you can help me.

    If i'm searching a word in plural i want the result also in singular.

    Is that even possible?

    Thx a lot...

    Posted 1 year ago #
  2. hossman1
    Moderator

    What you're describing is certainly possible -- they key is to use a field type that applies "stemming" when indexing and querying.

    The "text_en" field type uses the LucidPluralStemFilterFactory which should work well for your situation, the specific behavior can be customed by editing the rules in the LucidStemRules_en.txt file (comments in the file should be fairly self explanatory)

    Posted 1 year ago #
  3. u23297
    Member

    Thx for your suggestion,

    i've found the fuzzy function and i think its sufficient.

    Posted 1 year ago #

RSS feed for this topic