Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Solr & schema.xml

 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just began with Apache Solr 4.1 yesterday and though I have managed to get our MySQL data imported successfully in Solr, I am unable to view any data using queries. I suspect the problem is in schema.xml changes (data-config.xml is correct). Here are my questions -

  • Do I need to add all DB fields in the schema.xml? My table has 275+ fields, and configuring all of them would be a task. I am hoping there is a way to auto-configure thse fields.
  • Is there a way to use separate schema.xml for my requirement? Where and how do I configure this? I don't want to modify the example-DIH's sample schema.xml


  • Any pointers here would be highly appreciated!

    TIA,
    - Manish
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic