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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:56:46+00:00 2026-05-26T00:56:46+00:00

As I explained in my post a few days before I’m programming an ASP

  • 0

As I explained in my post a few days before I’m programming an ASP MVC3 multi-language website which should contain facetted search, full text search and a distance search. To realize that I’ve installed solr 3.3 on a Tomcat 7. I’m also successfully integrated a dataimporthandler.

Now I want to index the data from my relational ms sql database. I read the index structure looks like one table containing all the data of one object. That means if I’ve got a object like a car my schema catains fields like Branding, Color and so on.

  1. But what about n-m realtions? Does the index “table” have one column for each relation?
  2. And what about multi language items? Should I create one object/row int the index for each language?
  3. And should I save just the id of objects in the index or the whole names?
  4. And last how to index (query) a Object like on the database image? (I read something about dynamic fields and multiplevalue fields but I’m not sure if it is the solution for my problem)

I’ve a example of a database design I’m talking about attached.

Thanks for all the answers!!!

enter image description here

Update:
The people should be able to have different way to search.
They should have the possibility to search the tbl_text_local.text by full text searching and the miscellaneous are are facettes.
The Result should be a list of objects that match to the search and a list of facetts.

But how should I index the Miscellaneous? Is there a posibility to index them in a form like that:

<cattegory name = "cat1">

<Miscellaneous>
name...
</Miscellaneous>

<Miscellaneous>
...
</Miscellaneous>

<Miscellaneous>
...
</Miscellaneous>

</cattegory>


<cattegory name = "cat2">

<Miscellaneous>
</Miscellaneous>

<Miscellaneous>
</Miscellaneous>

<Miscellaneous>
</Miscellaneous>

</cattegory>

People should have a searchfield like:

Text input (to search the text)

Facettes:

Miscellaneous-Cattegory1

  • Miscellaneous1 (9)
  • Miscellaneous2 (39)
  • Miscellaneous3 (49)

Miscellaneous-Cattegory2

  • Miscellaneous5 (59)
  • Miscellaneous6 (69)

Miscellaneous-Cattegory3

  • Miscellaneous7 (7)
  • Miscellaneous8 (8)

Miscellaneous-Cattegory4

  • Miscellaneous9 (19)
  • 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-26T00:56:46+00:00Added an answer on May 26, 2026 at 12:56 am

    There is no single, “best” way to model relationships in Solr. Unlike relational databases, where you design tables by following normalization, in Solr the schema design is very much ad-hoc, a function of the searches you will perform on the index. Ask yourself these questions as guidance:

    • What are users searching for? What is the “result type”? The schema should be designed around this.
    • What information do I need to facet?
    • What information do I need to include in full-text search?
    • What information do I need to use to sort results?
    • What information will I search by? I.e. what information will I use to filter search results, and how will I use that information?
    • What will I process at index-time and what will I process at query-time?

    Finally, don’t be afraid of duplicating data in the index for specific search purposes.

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

Sidebar

Related Questions

I have to extract columns from a text file explained in this post: Extracting
Ok, This has been explained a few times (I got most of the way
I found this post Match elements between 2 collections with Linq in c# which
A few days ago I posted this question: switch statement and loops using jquery/javascript
I use the following code in a asp.net website. On application init i call
Does anyone know a link, post, book or something else where are explained and
I have the main website hosted by a reliable static web hosting service. Which
I'm revising my question from a few days ago. Rewrote my query. Can someone
Background this post explains how one can consume extension methods in Powershell http://community.bartdesmet.net/blogs/bart/archive/2007/09/06/extension-methods-in-windows-powershell.aspx Compare
I could try to post and explain the exact query I'm trying to run,

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.