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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:42:32+00:00 2026-06-13T15:42:32+00:00

I have the problem when solr put some unexpected value in field. in schema.xml

  • 0

I have the problem when solr put some unexpected value in field.

in schema.xml

<field name="country_ids" type="string" multiValued="true" stored="true" indexed="true" />

in media-jdbc.xml

<field column="country_ids" splitBy="\|" />

and query returns NULL or 2|3|8|9|3 for this field. (all query is to big and works perfectly)

When i do query in browser.

the field holds strange value:

<arr name="country_ids">
    <str>[B@6ad21538</str>
</arr>

What I’m missing?

Solr version 3.5

  • 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-13T15:42:33+00:00Added an answer on June 13, 2026 at 3:42 pm

    Ok! So i was using this query for importing:

    (select group_concat(distinct mmpc.mediacountry_id separator '|') from media_media_production_countries mmpc where mmpc.media_id=m.id) as country_ids
    

    After edited it slightly I’ve got right results.
    Changed it to:

    convert((select group_concat(distinct mmpc.mediacountry_id separator '|') from media_media_production_countries mmpc where mmpc.media_id=m.id) USING latin1) as country_ids
    

    If you noutice i added conver(**MY_STATEMENT** USING latin1)

    But steel cant explain why. I would appreciate if someone give me an explanation.

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

Sidebar

Related Questions

I have one field that is indexed as string in Solr's schema.xml, which is
I have the following field definition in my SOlr Schema name=DvdReleaseDate type=date stored=true required=false
I have a problem that i have a dynamic field in schema.xml as <dynamicField
I am new in SOLR. I have a problem. I put data into SOLR
I am first day with SOLR, and of course, i have some problems with
I have a problem with SOLR searching. When i`am searching query: dog* everything is
I have a problem with Solr and Faceting and wondering if anyone knows of
I've a problem in SOLR Search. I have a data like this: I use
A Solr query problem here. For example, a group checking query: There’s a string
I'm using SolrNet and have a problem where the score field is conflicting with

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.