aspose file tools*
The moose likes Other Open Source Projects and the fly likes Apache Solr & schema.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apache Solr & schema.xml" Watch "Apache Solr & schema.xml" New topic
Author

Apache Solr & schema.xml

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

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
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Apache Solr & schema.xml