solr4

    1熱度

    2回答

    我想索引pdf,使用solr編寫word文檔。 word/pdf文檔的全部內容都將出現在搜索響應中以及突出顯示的片段中。內容相當長,我想在搜索響應中避免它,因爲內容的長度。 是否可以僅獲取內容字段的突出顯示片段? 下面是搜索查詢 http://localhost:8080/solr4x/collection1/select?q=Scripting&wt=xml&hl=true&hl.fl=cont

    1熱度

    1回答

    我想fiogure什麼SOLR指兼容集合爲了能夠運行下面的查詢: Query all shards of multiple compatible collections, explicitly specified: http://localhost:8983/solr/collection1/select?collection=collection1_NY,collection1_NJ,colle

    2熱度

    3回答

    首先,我創建了一個名爲usercollection集合: http://xxxxx/solr/admin/collections?action=CREATE&name=usercollection&numShards=3&replicationFactor=3&maxShardsPerNode=3 然後我發現不對勁,所以我將其刪除。 http://xxxx/solr/admin/collect

    2熱度

    1回答

    我正在使用基本身份驗證。我的solr版本是4.1。我可以得到查詢結果,但是當我試圖索引文檔我收到以下錯誤消息: org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: http://192.168.0.1:8983/solr/my_core at or

    2熱度

    1回答

    我正在運行Solr 4.2.1,但我的日誌文件NoClassDefFoundError: com/vividsolutions/jts/geom/Geometry中有例外。我已經檢查過類似的問題,例如How to install JTS in Solr 4?,但這並沒有解決問題。 清單的solr.war的內容我在正確的道路 WEB-INF/lib/jts-1.8.jar 的JTS庫然而,這並沒

    0熱度

    1回答

    http://localhost:8983/solr/browse&q=foo&omitNorms=%22true%22&start=0&wt=json&omitHeader=true 它將返回solr中存在的所有字段。但我想從字段列表中排除一個或兩個字段。怎麼做?

    1熱度

    1回答

    在解決方案4中可以進行部分文檔更新。例如: <add> <doc> <field name="id">1</field> <field update="set" name="myfield">newvalue</field> </doc> </add> 將記錄1中的myfield更新爲「newvalue」而不影響其他字段。 但我怎樣才能更新myfield爲NULL?

    0熱度

    3回答

    我正在使用Solr4.3示例模式。我發佈了其他json文檔,但這些給我的問題。 如果集合中有多個值,則會出錯。 Uri :<code>http://localhost:8983/solr/update?commit=true</code> 解決方法? // JSON [ { 「ID」: 「MYID」, 「文本」:[{ 「文本」:1 },{ 「文本」: 「2」 } ] } ]

    6熱度

    1回答

    我在使用Solr4中的dataImportHandler生成UUID時遇到問題。我試圖從現有的MySQL數據庫導入。 我schema.xml中包含: <fields> <field name="uuid" type="uuid" indexed="true" stored="true" required="true" /> <field name="id" type="st

    0熱度

    1回答

    我試圖尋找隨後的兩個詞如下環繞查詢分析器: {!surround}FieldName:first w second 查詢的偉大工程,但SOLR引發分析異常時的一個關鍵詞中包含引號字符,即 {!surround}FieldName:first w sec"ond 我曾試圖逃跑的qutoe: {!surround}FieldName:first w sec\"ond 但它沒有他LP。 我也