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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:27:15+00:00 2026-06-02T08:27:15+00:00

This is what I have in my schema.xml: <fields> <field name=id type=string indexed=true stored=true

  • 0

This is what I have in my schema.xml:

<fields>
  <field name="id" type="string" indexed="true" stored="true" required="true" />
  <field name="about" type="string" indexed="true" stored="true" />
  <field name="music" type="string" indexed="true" stored="true" />
  <field name="movies" type="string" indexed="true" stored="true" />
  <field name="occupation" type="string" indexed="true" stored="true" />  
  <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
</fields>

<uniqueKey>id</uniqueKey>

And this is the doc I posted:

<add>
    <doc>
        <field name="id">abc123</field>     
        <field name="about">I am somebody</field>
        <field name="music">pop</field>
        <field name="movies">titanic</field>
        <field name="occupation">web dev</field>
    </doc>
</add>

The doc was pushed out to Solr just fine, when I search in Solr Admin using the *:* it shows my doc like so:

<?xml version="1.0" ?>
<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">1</int>
    <lst name="params">
      <str name="indent">on</str>
      <str name="start">0</str>
      <str name="q">*:*</str>
      <str name="version">2.2</str>
      <str name="rows">10</str>
    </lst>
  </lst>
  <result name="response" numFound="1" start="0">
    <doc>
      <str name="about">I am somebody</str>
      <str name="id">abc123</str>
      <str name="movies">titanic</str>
      <str name="music">pop</str>
      <str name="occupation">web dev</str>
    </doc>
  </result>
</response>

yet when I search using a keyword that is clearly in the doc, such as “titanic” or “web” no results show:

<?xml version="1.0" ?>
<response>
  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">1</int>
    <lst name="params">
      <str name="indent">on</str>
      <str name="start">0</str>
      <str name="q">titanic</str>
      <str name="version">2.2</str>
      <str name="rows">10</str>
    </lst>
  </lst>
  <result name="response" numFound="0" start="0"/>
</response>

How to fix this?

  • 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-02T08:27:20+00:00Added an answer on June 2, 2026 at 8:27 am

    Looks as if you need to specify a field name (q=movies:titanic) or set the default field in schema.xml.

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

Sidebar

Related Questions

In solr schema.xml I have a field <field name=name type=string indexed=true stored=true multiValued=false />
I have this schema: <xs:complexType name=foo> <xs:sequence> <xs:element name=oneBar type=xs:string minOccurs=0/> <xs:element name=twoBar type=xs:string
I have one field that is indexed as string in Solr's schema.xml, which is
I have a text-field called name in my schema.xml . A query q=name:(organic) returns
I have a xml schema like this: <?xml version=1.0 encoding=utf-8?> <NEWS> <category title=title> <sbml
If I have a schema like this: <?xml version=1.0 encoding=utf-8?> <xs:schema targetNamespace=http://mysticwarlords.kaa/XMLSchema xmlns=http://mysticwarlords.kaa/XMLSchema xmlns:xs=http://www.w3.org/2001/XMLSchema>
I have this schema and i'm using JAXB to generate java stub files. <?xml
I'm new to Solr. Using Solr 1.4.1 I have a schema.xml that have this
I have some XML in the following schema: <Form ID=1 Formtitle=Title> <Fields> <Fieldset Legend=LegendText
I'm using solrj to index data, I have created some new field in schema.xml,

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.