solr4j

Solr suggester in SolrCloud mode

我的梦境 提交于 2019-12-19 11:42:19
问题 I am running the solr in CloudSolr mode with three shards. The data is already indexed into solr. Now I have configured the solr suggester in solrconfig.xml. This is the configuration from solrconfig file. I am using solr 4.10 version. <searchComponent name="suggest" class="solr.SuggestComponent"> <lst name="suggester"> <str name="name">mysuggest</str> <str name="lookupImpl">FuzzyLookupFactory</str> <str name="storeDir">suggester_fuzzy_dir</str> <str name="dictionaryImpl"

Solr suggester in SolrCloud mode

江枫思渺然 提交于 2019-12-19 11:42:05
问题 I am running the solr in CloudSolr mode with three shards. The data is already indexed into solr. Now I have configured the solr suggester in solrconfig.xml. This is the configuration from solrconfig file. I am using solr 4.10 version. <searchComponent name="suggest" class="solr.SuggestComponent"> <lst name="suggester"> <str name="name">mysuggest</str> <str name="lookupImpl">FuzzyLookupFactory</str> <str name="storeDir">suggester_fuzzy_dir</str> <str name="dictionaryImpl"

Solrj DeleteByQuery is not working

点点圈 提交于 2019-12-13 07:13:53
问题 I have spent more than 3 hours of time to fix this issue, but unfortunately i am not able to fix it. Can anyone help me on this ? Here is the exception i am getting while running deletebyQuery using solrj while adding to solr is working. Note : deletebyQuery is not working but add is working. org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: http://localhost:8090/solr/abc at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod

How can I get the size of a Solr document?

孤人 提交于 2019-12-12 10:56:02
问题 I would like to know the size in bytes of individual Solr documents/responses. Is there a straightforward way to figure this out? We are using the solrj java client. I've looked around and have only found ways to determine the size of the index, but nothing on the size of the documents themselves. 回答1: the size and the document of solr are composed of both : - indexes compressed - files compressed A easy way to know the size of you solr core / node is to get in solr admin So in my case we