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 7862229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:03:01+00:00 2026-06-02T23:03:01+00:00

My schema.xml is splitting product name and then uses RemoveDuplicate to remove duplicated words

  • 0

My schema.xml is splitting product name and then uses RemoveDuplicate to remove duplicated words after split.

    <fieldType name="type_name" class="solr.TextField">
        <analyzer type="index">
            <tokenizer class="solr.PatternTokenizerFactory" pattern="\|| " />
            <filter class="solr.LowerCaseFilterFactory"/>
            <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>

And in query analyzer I see that RemoveDuplicatesTokenFilterFactory did absolutely nothing to duplicated words. Why?

enter image description here

  • 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-02T23:03:02+00:00Added an answer on June 2, 2026 at 11:03 pm

    If you read Wiki you will see that it only removes duplicates at the same position, which is not the case here.

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

Sidebar

Related Questions

I have text_general field in schema.xml <fieldType name=text_general class=solr.TextField positionIncrementGap=100> <analyzer type=index> <tokenizer class=solr.WhitespaceTokenizerFactory/>
The following is my schema.xml <field name=preset_id indexed=true type=long/> <field name=ep_user_id indexed= true type=long
From schema.xml: <field name=myfield type=integer indexed=true stored=false/> The record with id 5 has myfield
I have in schema.xml the followings: <field name=x_geo_x_coordinate type=double indexed=true stored=true default=0/> <field name=x_geo_y_coordinate
In solr schema.xml I have a field <field name=name type=string indexed=true stored=true multiValued=false />
I have a text-field called name in my schema.xml . A query q=name:(organic) returns
The relevant portion of my schema.xml : <database name=Inventory defaultIdMethod=native> <table name=Users phpName=User> <column
I have the following solr fields in schema.xml: id (string) name (string) category(string) latitude
I have a SOLR schema.xml like this: <field name=cartype type=lowercase indexed=true stored=true/> <field name=color
This is what I have in my schema.xml: <fields> <field name=id type=string indexed=true stored=true

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.