Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6615321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:26:51+00:00 2026-05-25T20:26:51+00:00

I am trying to experiment fuzzy match with Solr. In my document indexed first_name

  • 0

I am trying to experiment fuzzy match with Solr.

In my document indexed first_name field I mentioned as “MYNEWORGANIZATION20SEP2011” – actually the word was “My New Organization 20-Sep-2011” but I removed spaces and other chars.

Now above word (without spaces) if I search directly as query “MYNEWORGANIZATION20SEP2011” Solr is resulting 1 result as above document ID, perfect !

But if I trim two chars from this string and in query if I provide “MYNEWORGANIZATION20SEP20~0.8”, I am getting 0 results.

for my new query MYNEWORGANIZATION20SEP20 distance with main document data is 2 – thus % match should be > 90% match, thus it should still search the data (in my query I am specifying only 80% match.

BTW, if I use first_name as 6-7 chars like “rushik” and provide fuzzy query like “rushik~0.75”, search is working properly and returning the data.

In both the above cases I am using field type as “text_general” – using solr 3.3.

Do we have any chars limitation for fuzzy search in Solr or it can be configurable anywhere ? – I am using default solr configuration, not changed anything in solrconfig.xml

Is there any better way to search “My New Organization 20-Sep-2011” like string with fuzzy query without manually removing spaces.

Thanks,
Rushik.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:26:52+00:00Added an answer on May 25, 2026 at 8:26 pm

    Whats the index time analysis done on your field ?
    The text general field usually goes through the white space tokenizer, stopword filter, word delimiter and lower case filter, in which case you indexed field is completely different.
    Is the conversion from My New Organization 20-Sep-2011 -> MYNEWORGANIZATION20SEP2011 done by you before indexing?
    Also, most important Fuzzy searches don’t undergo query time analysis.

    You may want to use the field type as string or lowercase case fieldtype e.g.

        <fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
          <analyzer>
            <tokenizer class="solr.KeywordTokenizerFactory"/>
            <filter class="solr.LowerCaseFilterFactory" />
          </analyzer>
        </fieldType>
    

    and test Query using lower case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to ExtJS and trying to experiment with the border layout. I can't
I'm new to Haxe, and I'm trying to experiment with Ufront . I got
I am trying to experiment this parameter in MapReduce and I have some question.
As an experiment I'm trying to write a generic MVP framework. I started with:
So I'm trying to input blog comments into a database for an NLP experiment
I'm trying to accomplish what's being demonstrated at this site for an experiment I'm
I'm doing a little experiment, trying to alternate background colours for nested divs. This
i'm fairly new to django and just trying a couple simple experiments to get
I was trying an experiment with malloc to see if I could allocate all
I am trying to experiment on an open source application application . when i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.