Hello,

I installed the Sarnia module and I configured the server. The server is enabled and the connexion is "green": The Solr server could be reached ... (see image).
But I get no fields in the settings of the entity or in the solr properties. (see image).

Did I forget something? Should I set the fields via a specific file or via another method?

Thanks for your help.

Comments

kumkum29’s picture

In solr properties, If I refreshes the fields of the server I get nothing....

jmdeleon’s picture

Hi,

Based on the screen shots you have included, it looks like you may have put in an incorrect URL to your Solr core. Even though the Solr core reads "green" as you say, you should be getting more information in your first screen shot, like the size of the index and the number of items in it.

Check to see that the Solr URL is correct -- it should not have the pound sign in it.

You may also want to clear Drupal cache after checking this to fully refresh the entity fields.

jmdeleon’s picture

Status: Active » Closed (cannot reproduce)
arrubiu’s picture

I would re-open this issue, I've the same problem.

Solr is ok, from SolrAdmin I see the core that I would to see from Drupal, but SearchAPI doesn't return me ID fields.

Is mandatory to have contents in the solr index? Or it's enough to have the schema loaded by solr?

Thanks.

jmdeleon’s picture

"Is mandatory to have contents in the solr index? Or it's enough to have the schema loaded by solr?"

Yes, the Solr Index must be populated. It is not enough to load the schemas without any indexed content. Any fields not populated on the Solr side are not available to Drupal thru Sarnia.

This is a different issue from the one described in the original post. If you are continuing to have issues, I would suggest that you open a new issue.