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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:34:55+00:00 2026-06-17T20:34:55+00:00

Base Match Query: Billy Sue Test Match Query #1: Billy Sue and Test Match

  • 0

Base Match Query: Billy Sue

Test Match Query #1: Billy Sue and

Test Match Query #2: Billy and Sue

We end up with identical scores between Base and #1, but Base and #2 have similar yet different scores.

Using the analyze API, the stop word and is removed on both test queries, but the start_offset and end_offset token properties differ for Sue between the Base query and Test Query #2.

Essentially, the pre-stop-word-removal distance between the remaining tokens is recorded and has a small yet finite impact on scoring.

The Question

Is there a way to delay the calculation of the start_offset and end_offset properties of tokens until after stop-words are removed, or otherwise prevent removed stop-words from influencing scoring in any fashion?

  • 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-17T20:34:56+00:00Added an answer on June 17, 2026 at 8:34 pm

    Perhaps disable position increments on the stop word filterand see if that helps? Especially if your mapping has some kind of filter after the stop word filter, you’ll get strange artifacts from the position increments

    E.g. something like this:

    "analyzer": {
       "analyzer_example":{
          "tokenizer":"standard",
          "filter":["standard", "lowercase", "filter_stop"]
        }
    },
    "filter": { 
       "filter_stop":{
          "type":"stop",
          "enable_position_increments":"false"
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following models: class Match < ActiveRecord::Base has_and_belongs_to_many :teams end And class
In test server it is working. But production gives this traceback: what different? And
${BASE}/test/ other_consecutive_none_empty_characters If the cursor is under the $ sign ,how can I copy
MY base table have two colums assume col1,col2. col1 have id, col2 have many
I have a kinda complex query, basically I search the database in most fields
The problem is that when a Restaurant does not have any MenuItems that match
In my data base table i have a field description which is a text
I have a base class, Component: module abc { export class Component {} }
I'm currently doing something like this in SQLA: class Base(object): query = DBSession.query_property() @classmethod
I have a base class inherited by 2 others via Single Table Inheritance. 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.