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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:47:59+00:00 2026-05-11T19:47:59+00:00

I just got started looking at using Solr as my search web service. I

  • 0

I just got started looking at using Solr as my search web service. I don’t know whether Solr supports these query types:

  • Startswith
  • Exact Match
  • Contain
  • Doesn’t Contain
  • In the range

Could anyone guide me how to implement those features in Solr?

Cheers,
Samnang

  • 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-11T19:47:59+00:00Added an answer on May 11, 2026 at 7:47 pm

    Solr is capable of all those things but to adequately explain how to do each of time an answer would become a mini-manual for Solr.

    I’d suggest you read the actual manual and tutorials linked from the Solr homepage.

    In short though:

    Startswith can be implemented using Lucene wildcards.

    Exact matches will only be found if a field is not tokanized. I.e. the entire field is viewed as a single token.

    Contain is the default search format. I.e. a search for “John” will find any document’s whose search field contains the value “John”. Prefixing with – (e.g. “-John” will only find documents that do not contain John).

    Ranges (be they date or integer) are possible and quite powerful, example date:[* TO NOW] would find any document whose date is not in the future.

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

Sidebar

Related Questions

I just got started with nodeJS, and don't know much about it. Also I
I just started using Sequel in a really small Sinatra app. Since I've got
I have not used PackedArray before, but just started looking at using them from
I have just started looking into jquerymobile, done simple samples using jquery.mobile-1.0a1 . I
I've just recently started learning/using Ruby at work. I've got a super-simple test script
I just got started on a renderer for my cross platform framework (iOS and
I've just got started with Sentry , which is lovely. I've got about 10
I just started reading Effective C++ today and got to the point where the
Just started playing around with ice_cube I've got a weekly schedule (with a granularity
I just started learning python and django and I have a question. I got

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.