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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:38:59+00:00 2026-05-18T07:38:59+00:00

How do I add compass analyzer while indexing and searching data in compass.I am

  • 0

How do I add compass analyzer while indexing and searching data in compass.I am using schema based configuration for compass.I want to use StandardAnalyzer with no stopwords.Because I want to index data as it is,without ignoring search terms like AND , OR , IN . The default analyzer will ignore AND , OR , IN from the data I give for indexing.

How do I configure snowball analyzer either thru code or thru xml. If someone could post me an example.

  • 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-18T07:39:00+00:00Added an answer on May 18, 2026 at 7:39 am

    Below is the example. You can also find more details here

    <comp:searchEngine useCompoundFile="false" cacheInvalidationInterval="-1">
            <comp:allProperty enable="false" />
            <!--
                By Default, compass uses StandardAnalyzer for indexing and searching. StandardAnalyzer
                will use certain stop words (stop words are not indexed and hence not searcheable) which are
                valid search terms in the DataSource World. For e.g. 'in' for Indiana state, 'or' for Oregon etc.
                So we need to provide our own Analyzer.
            -->
            <comp:analyzer name="default" type="CustomAnalyzer"
                analyzerClass="com.ICStandardAnalyzer" />
            <comp:analyzer name="search" type="CustomAnalyzer"
                analyzerClass="com.ICStandardAnalyzer" />
            <!--
                Disable the optimizer as we will optimize the index as a separate batch job
    
                Also, the merge factor is set to 1000, so that merging doesnt happen during the commit time.
                Merging is a time consuming process and will be done by the batched optimizer
            -->
            <comp:optimizer schedule="false" mergeFactor="1000"/>
        </comp:searchEngine>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Hibernate for a Java-based Web Application and want to add full-text search
I am building some auto-complete functionality using compass and I need to add an
If I'm using compass for CSS and use a function or mixin like: @include
We add Struts errors and messages using ActionSupport.addActionError(...) and addActionMessage(...) and then output the
To add a whitespace seperator in a string we use String.Join(). My question:What(and how)
I add many check boxes to the excel sheet programaticaly using the following code:
I am planing to add search feature in my web application. I am using
// Add into DB using (tblArtworkTemplatesTableAdapter tblAdapter = new tblArtworkTemplatesTableAdapter()) { tblAdapter.Insert(DateTime.Now, @specID); @specID
To add additional user profile information in Django, it seems that using AUTH_PROFILE_MODEL is
Using the github versions of the compass rails31 branch and sass-rails: gem sass-rails, :git

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.