solandra

How to add data to the solr's schema

纵然是瞬间 提交于 2020-01-06 20:18:13
问题 I try to add new data to the solandra according to the solr's schema but I can't find any example about this. My ultimate goal is to integrate solandra with django-solr. What I understand about the insert and updating in the solr based on the original solr and django-solr is to send the new data on the http protocol to the decent path, for example: http://localhost:8983/solandra/wikipedia/update/json However, when I access the url, the browser keep telling me HTTP ERROR: 404 . Can you help me

How to add data to the solr's schema

假装没事ソ 提交于 2020-01-06 20:16:25
问题 I try to add new data to the solandra according to the solr's schema but I can't find any example about this. My ultimate goal is to integrate solandra with django-solr. What I understand about the insert and updating in the solr based on the original solr and django-solr is to send the new data on the http protocol to the decent path, for example: http://localhost:8983/solandra/wikipedia/update/json However, when I access the url, the browser keep telling me HTTP ERROR: 404 . Can you help me

Search document by id very slow

混江龙づ霸主 提交于 2019-12-24 11:42:12
问题 my documents has an id field, called "doc_id", declared with the following attributes: <field name="doc_id" type="long" indexed="true" stored="true" required="true" /> This id is marked as an unique key with the tag. I try to load many documents at once, giving their ids in request f.e. doc_id:(235, 163, 256, ..., 10473) The count of identifiers in the query is never greater than 100. However, the more documents are there in the storage the longer it takes for this query to execute. I thought

Solr - highlight query phrase

二次信任 提交于 2019-12-21 17:01:39
问题 Is it possible to highlight whole query terms? f.e. when I ask for "United States" I want to get: <em>United States</em> and not: <em>United</em> <em>States</em> I've searched the whole Internet for an answer, used all combinations of hl.mergeContiguous , hl.usePhrasesHighlighter and hl.highlightMultiTerm parameters and still cannot make it work. my query is: http://localhost:8983/solandra/idxPosts.proj350_139/select?q=post_text:"Janusz Palikot"&hl=true&hl.fl=post_text&hl.mergeContiguous=true

Is it possible to set a Solr Score threshold 'reasonably', independent of results returned? (i.e. Is Solr Scoring standardized in any way)

≯℡__Kan透↙ 提交于 2019-12-21 09:39:14
问题 I have a Solr index with many entries, and upon query some subset is returned - each entry having some score, (Obvious). Once the results are returned with scores, I want to be able to only "keep" results that are above some score (i.e. results of a certain quality only). Is it possible to do this when the returned subset could be anything? I ask because it seems like on some queries a score of say 0.008 is resulting in a decent match, whereas other queries a higher score results in a poor

Solr - highlight query phrase

六月ゝ 毕业季﹏ 提交于 2019-12-04 08:23:48
Is it possible to highlight whole query terms? f.e. when I ask for "United States" I want to get: <em>United States</em> and not: <em>United</em> <em>States</em> I've searched the whole Internet for an answer, used all combinations of hl.mergeContiguous , hl.usePhrasesHighlighter and hl.highlightMultiTerm parameters and still cannot make it work. my query is: http://localhost:8983/solandra/idxPosts.proj350_139/select?q=post_text:"Janusz Palikot"&hl=true&hl.fl=post_text&hl.mergeContiguous=true&hl.usePhrasesHighlighter=true&hl.highlightMultiTerm=true the answer is: ... <arr name="post_text"><str