| Issue 3175: | Solr schema example for gerrit | |
| 2 people starred this issue and may be notified of changes. | Back to list |
I have tried to configure gerrit to work with Solr but there something that I miss.
Looks like wrong schema of solr collection.
where can I get schema example for solr?
gerrit error log:
[2015-02-12 10:10:44,882] INFO org.apache.solr.common.cloud.ConnectionManager : Client is connected to ZooKeeper
[2015-02-12 10:10:44,895] INFO org.apache.solr.common.cloud.ZkStateReader : Updating cluster state from ZooKeeper...
[2015-02-12 10:10:45,393] ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET /changes/?n=25&O=81
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: undefined field status
Solr output
2335926 [qtp817409998-16] ERROR org.apache.solr.core.SolrCore ? org.apache.solr.common.SolrException: undefined field status
...
2335927 [qtp817409998-16] INFO org.apache.solr.core.SolrCore ? [changes_open_shard1_replica1] webapp=/solr path=/select params={sort=updated2+desc,_id+desc&fl=_id&q=status:new+status:submitted+status:draft&wt=javabin&shards.tolerant=true&version=2&rows=26} status=400 QTime=2
Feb 12, 2015
#1
vlad.khudyakov
Feb 12, 2015
now it fail on reindex WARN com.google.gerrit.server.index.ChangeBatchIndexer : Failed to index change 41522 java.lang.IllegalArgumentException: unknown index field type STORED_ONLY if there any way to ignore this field?
Feb 19, 2015
I don't know if anyone actually uses Solr. There was intention to remove support for it [1] and add Elasticsearch instead [2] but both of those changes have stalled. It might be better to ask on the repo-discuss mailing list to find someone who uses Solr and knows how to configure it. [1] https://gerrit-review.googlesource.com/#/c/58478/ [2] https://gerrit-review.googlesource.com/#/c/58081/ |
|
| ► Sign in to add a comment |