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

  • Home
  • SEARCH
  • 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 8122619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:53:26+00:00 2026-06-06T05:53:26+00:00

I am new to Solr. By reading Solr’s wiki, I don’t understand the differences

  • 0

I am new to Solr. By reading Solr’s wiki, I don’t understand the differences between WhitespaceTokenizerFactory and StandardTokenizerFactory. What’s their real difference?

  • 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-06-06T05:53:27+00:00Added an answer on June 6, 2026 at 5:53 am

    They differ in how they split the analyzed text into tokens.

    The StandardTokenizer does this based on the following (taken from lucene javadoc):

    • Splits words at punctuation characters, removing punctuation.
      However, a dot that’s not followed by whitespace is considered part
      of a token.
    • Splits words at hyphens, unless there’s a number in the
      token, in which case the whole token is interpreted as a product
      number and is not split.
    • Recognizes email addresses and internet
      hostnames as one token.

    The WhitespaceTokenizer does this based on whitespace characters:

    A WhitespaceTokenizer is a tokenizer that divides text at whitespace. Adjacent sequences of non-Whitespace characters form tokens.

    You should pick the tokenizer that best fits your application. In any case you have to use the same analyzer/tokenizers for indexing and searching!

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

Sidebar

Related Questions

i m new to solr so i really need someone to help me understand
I'm new to Apache Solr. Even after reading the documentation part, I'm finding it
I am new to Solr.I want to know when to use StandardTokenizerFactory and KeywordTokenizerFactory
I am new to Solr, and am trying to figure out the best way
ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box
I am completely new to java and I am using Solr search server. It
I'm new to Solr, and am having trouble getting my setup to work. I'm
I'm new to SOLR and was doing some research on this technology. I now
I am new to solr. I have developed a an website which uses solr
I am new to SOLR but am aware that it is built on top

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.