how to
search iphone but I don't want iphone test content is the first record, I want minus test weights , how to do this. thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-tp4215345.html Sent from the Solr - User mailing list archive at Nabble.com.
how to query this?
I have a query on course: 1. if course will begin, then sort those by beginTime asc. 2. if couse ended, then sort those by begin desc. how to query use solr? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-this-tp4165998.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to query this?
not solve my question. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-this-tp4165998p4166007.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Boosting Unique Values
ok. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boosting-Unique-Values-tp4160507p4161627.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Loading an index (generated by map reduce) in SolrCloud
copy is not a good choice, transfer to hdfs and merge. -- View this message in context: http://lucene.472066.n3.nabble.com/Loading-an-index-generated-by-map-reduce-in-SolrCloud-tp4159530p4160855.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: MergeReduceIndexerTool takes a lot of time for a limited number of documents
-D 'mapred.child.java.opts=-Xmx500m' set this as your needs. I think it will work well. -- View this message in context: http://lucene.472066.n3.nabble.com/MergeReduceIndexerTool-takes-a-lot-of-time-for-a-limited-number-of-documents-tp4138163p4160362.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to make solr fault tolerant for query?
i think with params is ok. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-make-solr-fault-tolerant-for-query-tp4158411p4159574.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Fatal full GC
mark -- View this message in context: http://lucene.472066.n3.nabble.com/Fatal-full-GC-tp4158429p4159827.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud deleted all existing indexes after update query
should be master node. replia maybe appear this. I don't know why? -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-deleted-all-existing-indexes-after-update-query-tp4159566p4159828.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr/lucene 4.10 out of memory issues
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-lucene-4-10-out-of-memory-issues-tp4158262p4159829.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: What's the actual story with new morphline and hadoop contribs?
I think it is useful to dirstribute index and then merge to solr. Cloudear use it often. But reference is too less to understand. -- View this message in context: http://lucene.472066.n3.nabble.com/What-s-the-actual-story-with-new-morphline-and-hadoop-contribs-tp4130999p4159830.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Access solr cloud via ssh tunnel?
firewall effect this, try and test. good luck. -- View this message in context: http://lucene.472066.n3.nabble.com/Access-solr-cloud-via-ssh-tunnel-tp4159224p4159305.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Cloudera Manager install
4.4 I think. -- View this message in context: http://lucene.472066.n3.nabble.com/Cloudera-Manager-install-tp4136250p4158810.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr CPU Usage
I think that is configs not tuned well. Can use jmx to monitor what is doing? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-CPU-Usage-tp4155370p4155747.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Basic auth on SolrCloud /admin/* calls
mark -- View this message in context: http://lucene.472066.n3.nabble.com/Basic-auth-on-SolrCloud-admin-calls-tp4052266p4155521.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Integrating Solr with HBase Using Lily Project
try cloudear search. -- View this message in context: http://lucene.472066.n3.nabble.com/Integrating-Solr-with-HBase-Using-Lily-Project-tp4147868p4153906.html Sent from the Solr - User mailing list archive at Nabble.com.
what os env you use to develop lucene or solr?
HI everybody, I want know this, if linux is the best choosen? and Doug Cutting use what, and centos or ubuntu or others, even mac? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/what-os-env-you-use-to-develop-lucene-or-solr-tp4152219.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Delta Import - Cleaning Index
good. -- View this message in context: http://lucene.472066.n3.nabble.com/Delta-Import-Cleaning-Index-tp4151217p4152221.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Disabling transaction logs
good. -- View this message in context: http://lucene.472066.n3.nabble.com/Disabling-transaction-logs-tp4151721p415.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud Scale Struggle
should not autoCommit openSearcher too freq. autoCommit maxTime360/maxTime openSearchertrue/openSearcher /autoCommit autoSoftCommit maxTime1000/maxTime maxDocs100/maxDocs /autoSoftCommit autoSoftCommit maxDocs1/maxDocs /autoSoftCommit -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Scale-Struggle-tp4150592p4152229.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Anybody uses Solr JMX?
useful. -- View this message in context: http://lucene.472066.n3.nabble.com/Anybody-uses-Solr-JMX-tp4134598p4151820.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to sync lib directory in SolrCloud?
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-sync-lib-directory-in-SolrCloud-tp4150405p4151821.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: why solr commit with serval docs
code error by my colleague. -- View this message in context: http://lucene.472066.n3.nabble.com/why-solr-commit-with-serval-docs-tp4150583p4151822.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Anybody uses Solr JMX?
good job . -- View this message in context: http://lucene.472066.n3.nabble.com/Anybody-uses-Solr-JMX-tp4134598p4151408.html Sent from the Solr - User mailing list archive at Nabble.com.
why solr commit with serval docs
I use solrconfig.xml as follow: updateHandler class=solr.DirectUpdateHandler2 updateLog str name=dir${solr.ulog.dir:}/str /updateLog autoCommit maxTime15000/maxTime maxDocs5000/maxDocs openSearcherfalse/openSearcher /autoCommit autoSoftCommit maxTime360/maxTime maxDocs50/maxDocs /autoSoftCommit /updateHandler I use 2000 docs to commit once, but I query find that 2002,2003,2004 and so on, not 2000,4000,6000 increase. I don't know why? who can tell me ? thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/why-solr-commit-with-serval-docs-tp4150583.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Autocommit, opensearchers and ingestion
good -- View this message in context: http://lucene.472066.n3.nabble.com/Autocommit-opensearchers-and-ingestion-tp4119604p4150558.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Add a new replica to SolrCloud
can do this. -- View this message in context: http://lucene.472066.n3.nabble.com/Add-a-new-replica-to-SolrCloud-tp4146229p4146970.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SOLR in Production
AA machine is ok. Maybe SolrCloud is also a good choice for this. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-in-Production-tp4143496p4146972.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: why full-import not work well?
done. There is a bug, remove something is ok. -- View this message in context: http://lucene.472066.n3.nabble.com/why-full-import-not-work-well-tp4142193p4144932.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: fq= more then one ?
good. -- View this message in context: http://lucene.472066.n3.nabble.com/fq-more-then-one-tp959849p4143943.html Sent from the Solr - User mailing list archive at Nabble.com.
why full-import not work well?
I use crontab : *15 4 * * * curl -G http://ip/solr/collection_x/dataimport?command=full-importentity=maincommit=truewt=xmlindent=trueverbose=falseclean=true; CompleteFull.log* The Response is below: ?xml version=1.0 encoding=UTF-8? response lst name=responseHeader int name=status0/int int name=QTime6/int /lst lst name=initArgs lst name=defaults str name=configdata-config.xml/str /lst /lst str name=commandfull-import/str str name=statusidle/str str name=importResponse/ lst name=statusMessages str name=Total Requests made to DataSource8/str str name=Total Rows Fetched7/str str name=Total Documents Skipped0/str str name=Delta Dump started2014-06-17 04:00:01/str str name=Identifying Delta2014-06-17 04:00:01/str str name=Deltas Obtained2014-06-17 04:00:01/str str name=Building documents2014-06-17 04:00:01/str str name=Total Changed Documents7/str str name=Total Documents Processed0/str str name=Time taken0:0:0.168/str /lst str name=WARNINGThis response format is experimental. It is likely to change in the future./str /response I could not understand why not the full import? I use browse it work well. What is the reason? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/why-full-import-not-work-well-tp4142193.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: SOLR Cloud Rebuild core
I also confuse to this long time. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Cloud-Rebuild-core-tp4141869p4142194.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DataImportHandler while Replication
good. -- View this message in context: http://lucene.472066.n3.nabble.com/DataImportHandler-while-Replication-tp4138763p4139774.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr High GC issue
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-High-GC-issue-tp4138570p4139785.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Boost documents having a field value
function also can be use. -- View this message in context: http://lucene.472066.n3.nabble.com/Boost-documents-having-a-field-value-tp4139342p4139486.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Custom filter not working with solr 4.7.1
normal, rewrite filter. -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-filter-not-working-with-solr-4-7-1-tp4136824p4139506.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr maximum Optimal Index Size per Shard
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-maximum-Optimal-Index-Size-per-Shard-tp4139565p4139698.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud distributed indexing
use one is ok. solrCloud will route it, but use cloudserver is a good choice. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-distributed-indexing-tp4138600p4139700.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to Create a weighted function (dismax or otherwise)
good. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Create-a-weighted-function-dismax-or-otherwise-tp3119977p4138401.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to Create a weighted function (dismax or otherwise)
good -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Create-a-weighted-function-dismax-or-otherwise-tp3119977p4138411.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: solrcloud shards backup/restoration
I also want to know how to realization it. -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-shards-backup-restoration-tp4088447p4138358.html Sent from the Solr - User mailing list archive at Nabble.com.
RE: Backup strategy for SolrCloud
Now, I use this. But I still want a snapshot index too. -- View this message in context: http://lucene.472066.n3.nabble.com/Backup-strategy-for-SolrCloud-tp4009291p4138359.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Combining Solr score with customized user ratings for a document
Good. -- View this message in context: http://lucene.472066.n3.nabble.com/Combining-Solr-score-with-customized-user-ratings-for-a-document-tp4040200p4138135.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH timezone offset
good. -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-timezone-offset-tp504958p4137077.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr performance: multiValued filed vs separate fields
I think multiValue is copied multi values, index is bigger and query easy, but performance may worse, but it depends on how to using. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-performance-multiValued-filed-vs-separate-fields-tp4136121p4137289.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Indexing Big Data With or Without Solr
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-Big-Data-With-or-Without-Solr-tp4131215p4133831.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Wait Flush, Wait Searcher and commit Scenarios
good. -- View this message in context: http://lucene.472066.n3.nabble.com/Wait-Flush-Wait-Searcher-and-commit-Scenarios-tp491509p4131651.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: waitFlush and waitSearcher
mark -- View this message in context: http://lucene.472066.n3.nabble.com/waitFlush-and-waitSearcher-tp476887p4131653.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr special characters like '(' and ''?
mark. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-special-characters-like-and-tp4129854p4130333.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Errors on index in SolrCloud: ConcurrentUpdateSolrServer$Runner.run()
org.apache.solr.common.SolrException: Bad Request request: http://192.168.22.35:8080/solr/collection_networkSchool_shard1_replica3/update?update.distrib=FROMLEADERdistrib.from=http%3A%2F%2F192.168.22.34%3A8080%2Fsolr%2Fcollection_networkSchool_shard1_replica1%2Fwt=javabinversion=2 at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:240) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) simility to this. -- View this message in context: http://lucene.472066.n3.nabble.com/Errors-on-index-in-SolrCloud-ConcurrentUpdateSolrServer-Runner-run-tp4107661p4128748.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Errors on index in SolrCloud: ConcurrentUpdateSolrServer$Runner.run()
I see it is config problem. -- View this message in context: http://lucene.472066.n3.nabble.com/Errors-on-index-in-SolrCloud-ConcurrentUpdateSolrServer-Runner-run-tp4107661p4128751.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: MergingSolrIndexes not supported by SolrCloud?why?
I make it. I make a mistake. -- View this message in context: http://lucene.472066.n3.nabble.com/MergingSolrIndexes-not-supported-by-SolrCloud-why-tp4127111p4128351.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: MergingSolrIndexes not supported by SolrCloud?why?
I think that maybe my problem with cluster. I will adjust to test again. 3X! -- View this message in context: http://lucene.472066.n3.nabble.com/MergingSolrIndexes-not-supported-by-SolrCloud-why-tp4127111p4128113.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: MergingSolrIndexes not supported by SolrCloud?why?
I also write java code , that not work well . public static void merge() { final HttpSolrServer server = new HttpSolrServer(http://solr2:8983/solr;); try { CoreAdminRequest.MergeIndexes mergeRequest = new CoreAdminRequest.MergeIndexes(); mergeRequest.setCoreName(collection3); // mergeRequest.setIndexDirs(Arrays.asList(dir.getPath().toString() + /data/index)); mergeRequest.setIndexDirs(Arrays .asList(hdfs://solr1:8020/user/solr/outdir/results/part-0/data/index)); CoreAdminResponse rs = mergeRequest.process(server); System.out.println(rs); } catch (SolrServerException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } finally { System.out.println(end.); } } who can give explain. But I use in one machine, that is true work well, cloudera can give more explain? or anyone else? thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/MergingSolrIndexes-not-supported-by-SolrCloud-why-tp4127111p4127597.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: MergingSolrIndexes not supported by SolrCloud?why?
I use hdfs to test, that not work. I tried: (1) **/indexDir=hdfs://ip/solr/sample/data/index (2) **/indexDir=/solr/sample/data/index not work well. I also try: (3) **/srcCore=sample not work well. can give me some success sample. 3x! I insert data, hdfs appear index files, that is ok, but mergeindex is not work well. solr 4.4 and cloudear hdfs. -- View this message in context: http://lucene.472066.n3.nabble.com/MergingSolrIndexes-not-supported-by-SolrCloud-why-tp4127111p4127350.html Sent from the Solr - User mailing list archive at Nabble.com.
MergingSolrIndexes not supported by SolrCloud?why?
MergingSolrIndexes: http://192.168.22.32:8080/solr/admin/cores?action=mergeindexescore=collection_cms2indexDir=/home/solr/mrl/data/index I use it in local that supported well, but in solrCloud(3 machine) that not work well. can anyone give me some advice. thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/MergingSolrIndexes-not-supported-by-SolrCloud-why-tp4127111.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing
you can use multithread. for fast , you also can cal(general hash algrothim) solrserver to add docs. -- View this message in context: http://lucene.472066.n3.nabble.com/CloudSolrServer-vs-ConcurrentUpdateSolrServer-for-indexing-tp4055772p4056606.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Error while starting Solr on Websphere
E org.apache.solr.common.SolrException log null:java.lang.NoSuchMethodError should be jar not found. no relation to websphere. -- View this message in context: http://lucene.472066.n3.nabble.com/Error-while-starting-Solr-on-Websphere-tp4049583p4049612.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Advice: solrCloud + DIH
Yes u can know that, u must understand shard partition. -- View this message in context: http://lucene.472066.n3.nabble.com/Advice-solrCloud-DIH-tp4047339p4047673.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How should I configure Solr to support multi-word synonyms?
Mark -- View this message in context: http://lucene.472066.n3.nabble.com/How-should-I-configure-Solr-to-support-multi-word-synonyms-tp4044578p4047678.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Advice: solrCloud + DIH
3docs/s is lower, I test with 4 node is more 1000docs/s and 4k/doc with solrcloud. Every leader has a replica. I am tuning to improve to 3000docs/s. 3docs/s is too slow. 3x! -- View this message in context: http://lucene.472066.n3.nabble.com/Advice-solrCloud-DIH-tp4047339p4047559.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Embedded Solr
give u to test embeded solr: import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Collection; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.core.SimpleAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.index.IndexReader; import org.apache.lucene.queryparser.classic.ParseException; import org.apache.lucene.queryparser.classic.QueryParser; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.Query; import org.apache.lucene.search.TopDocs; import org.apache.lucene.store.Directory; import org.apache.lucene.store.FSDirectory; import org.apache.lucene.util.Version; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.embedded.EmbeddedSolrServer; import org.apache.solr.common.SolrDocumentList; import org.apache.solr.common.SolrInputDocument; import org.apache.solr.core.CoreContainer; public class EmbededSolrTest { private static int commitNum = 5000; private static String path = /home/solr/Rollin/solr-4.1.0/embeddedExample; /** * @param args * @throws Exception */ public static void main(String[] args) throws Exception { if(args != null) { if(args.length 0) { path = args[0].trim(); } if(args.length 1) { commitNum = Integer.parseInt(args[1].trim()); } } //path = D:\\program\\solr\\41embededtest; System.setProperty(solr.solr.home, path); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = initializer.initialize(); EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, ); addIndex(server); //query(server); //deleteAllDoc(server); } public static void query(SolrServer server) throws Exception { try { SolrQuery q = new SolrQuery(); q.setQuery(*:*); q.setStart(0); q.setRows(20); SolrDocumentList list = server.query(q).getResults(); System.out.println(list.getNumFound()); } catch(Exception e) { e.printStackTrace(); } finally { server.shutdown(); } } public static void deleteAllDoc(SolrServer server) throws Exception { try { server.deleteByQuery(*:*); server.commit(); query(server); } catch(Exception e) { e.printStackTrace(); } finally { server.shutdown(); } } public static void addIndex(SolrServer solrServer) throws IOException, ParseException { String path = index; Analyzer analyzer = new SimpleAnalyzer(Version.LUCENE_35); //Analyzer analyzer = new SimpleAnalyzer(); Directory directonry = FSDirectory.open(new File(path)); IndexReader ireader = IndexReader.open(directonry); IndexSearcher isearcher = new IndexSearcher(ireader); QueryParser parser = new QueryParser(Version.LUCENE_35, , analyzer); Query query = parser.parse(*:*); TopDocs hits = isearcher.search(query, null, 100); System.out.println(find size: + hits.totalHits); java.net.InetAddress addr = java.net.InetAddress.getLocalHost(); String computerName = addr.getHostName(); //insert2Solr(solrServer, isearcher, hits); long beginTime = System.currentTimeMillis(); long totalTime = 0; System.out.println(begin time: + beginTime); try { CollectionSolrInputDocument docs = new ArrayListSolrInputDocument(); for(int i = 0; i hits.scoreDocs.length; i ++ ) { SolrInputDocument doc = new SolrInputDocument(); Document hitDoc = isearcher.doc(hits.scoreDocs[i].doc); doc.addField(id, i + a + computerName + Thread.currentThread().getId()); doc.addField(text, hitDoc.get(text)); docs.add(doc);
solrCloud insert data steps
numshards=2 for example ids(1,4) will go to same shards I have shard1(ip1,ip2,ip3) shard2(ip4,ip5,ip6) that each shard has 3 nodes, and ip1 as the lead of shard1. If i insert ids(1,4), I think basic step is: 1 search lead, and insert ids(1,4) to the lead locally 2 at the lead node, search follow and send addDocs request to (ip2,ip3) 3 ip2 and ip3 receive reqeust from the ip1 and insert ids(1,4) async 4 lead collect response and return I don't know it is correct? If not, give me some suggestions. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/solrCloud-insert-data-steps-tp4043315.html Sent from the Solr - User mailing list archive at Nabble.com.
SolrCloud query with shardid or not, different route
I use SolrCloud with 2 shards and 4 nodes. for example: shard1: node1, node2. shard2: node3, node4 (1) If I request http://node1/*:*, then node1 and node2 will be queried and response data. (2) If I reqeust http://node1/*:*shards=shard1, node1 will be queried and response, node2 no response. (3) If I reqeust http://node2/*:*shards=shard1, node2 will be queried and response, node1 no response. (4) If I reqeust http://node2/*:*, node2 will be queried and response, node1 will be queried and response. (5) If I reqeust http://node2/*:*shards=shard2, node2 will be queried and response, node1 no response. node3 node4 not watched(I beleive node3, node4 will both response to this and merge results at last, But I also think one is enough). as well know, node1, node2 are the same shards, why *:* query both, I think query one is well. who can give me help. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-query-with-shardid-or-not-different-route-tp4043329.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: 答复: solr shards
I give some comments to this tompic: 1 compoisteId with setting numshards 1.1 uinique id (hash alogrith to set shard) 1.2 espically, prefix with ! will be route to same shard if you set ! in id 2 not set numshars 2.1 user using _field_(schema.xml) to set where to sink data in shard 2.2 use ip to insert local In addition, if you set numshards with _field at the same time , compositerId will be used only. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-shards-tp4041704p4042903.html Sent from the Solr - User mailing list archive at Nabble.com.
solr shards
Hi Use SolrCloud4.1 with one collection and 2 shards. I add 4 docs with id(1,2,3,4) set. I found that they appeard in shard1 or shard2 together, not (1,3) in shard1 and (2,4) in shard2, I want to know why? who can give me some advice. Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/solr-shards-tp4041704.html Sent from the Solr - User mailing list archive at Nabble.com.