how to

2015-07-01 Thread rulinma
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.

MergingSolrIndexes not supported by SolrCloud?why?

2014-03-26 Thread rulinma
MergingSolrIndexes: http://192.168.22.32:8080/solr/admin/cores?action=mergeindexes&core=collection_cms2&indexDir=/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 cont

Re: MergingSolrIndexes not supported by SolrCloud?why?

2014-03-27 Thread rulinma
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, tha

Re: MergingSolrIndexes not supported by SolrCloud?why?

2014-03-27 Thread rulinma
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"

Re: MergingSolrIndexes not supported by SolrCloud?why?

2014-03-31 Thread rulinma
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?

2014-04-01 Thread rulinma
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: Errors on index in SolrCloud: ConcurrentUpdateSolrServer$Runner.run()

2014-04-02 Thread rulinma
org.apache.solr.common.SolrException: Bad Request request: http://192.168.22.35:8080/solr/collection_networkSchool_shard1_replica3/update?update.distrib=FROMLEADER&distrib.from=http%3A%2F%2F192.168.22.34%3A8080%2Fsolr%2Fcollection_networkSchool_shard1_replica1%2F&wt=javabin&version=2 at

Re: Errors on index in SolrCloud: ConcurrentUpdateSolrServer$Runner.run()

2014-04-02 Thread rulinma
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.

solr-user@lucene.apache.org

2014-04-10 Thread rulinma
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: Wait Flush, Wait Searcher and commit Scenarios

2014-04-16 Thread rulinma
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

2014-04-16 Thread rulinma
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: Indexing Big Data With or Without Solr

2014-04-29 Thread rulinma
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: DIH timezone offset

2014-05-19 Thread rulinma
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

2014-05-20 Thread rulinma
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 So

Re: Combining Solr score with customized user ratings for a document

2014-05-26 Thread rulinma
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: solrcloud shards backup/restoration

2014-05-27 Thread rulinma
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

2014-05-27 Thread rulinma
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: How to Create a weighted function (dismax or otherwise)

2014-05-28 Thread rulinma
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)

2014-05-28 Thread rulinma
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: Boost documents having a field value

2014-06-03 Thread rulinma
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

2014-06-03 Thread rulinma
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

2014-06-03 Thread rulinma
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

2014-06-03 Thread rulinma
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: DataImportHandler while Replication

2014-06-04 Thread rulinma
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

2014-06-04 Thread rulinma
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.

why full-import not work well?

2014-06-16 Thread rulinma
I use crontab : *15 4 * * * curl -G "http://ip/solr/collection_x/dataimport?command=full-import&entity=main&commit=true&wt=xml&indent=true&verbose=false&clean=true"; >> CompleteFull.log* The Response is below: 0 6 data-config.xml full-import idle 8 7 0 2014-06-17 04

RE: SOLR Cloud Rebuild core

2014-06-16 Thread rulinma
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: fq= "more then one" ?

2014-06-24 Thread rulinma
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.

Re: why full-import not work well?

2014-07-01 Thread rulinma
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: Add a new replica to SolrCloud

2014-07-13 Thread rulinma
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

2014-07-13 Thread rulinma
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: Autocommit, opensearchers and ingestion

2014-07-31 Thread rulinma
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.

why solr commit with serval docs

2014-08-01 Thread rulinma
I use solrconfig.xml as follow: ${solr.ulog.dir:} 15000 5000 false 360 50 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? wh

Re: Anybody uses Solr JMX?

2014-08-06 Thread rulinma
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.

Re: Anybody uses Solr JMX?

2014-08-07 Thread rulinma
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?

2014-08-07 Thread rulinma
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

2014-08-07 Thread rulinma
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.

what os env you use to develop lucene or solr?

2014-08-10 Thread rulinma
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

Re: Delta Import - Cleaning Index

2014-08-10 Thread rulinma
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

2014-08-10 Thread rulinma
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

2014-08-10 Thread rulinma
should not autoCommit openSearcher too freq. 360 true 1000 100 1 -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Scale-Struggle-tp4150592p4152229.html Sent from the Solr - User mailing list archive

Re: Integrating Solr with HBase Using Lily Project

2014-08-19 Thread rulinma
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.

Re: Basic auth on SolrCloud /admin/* calls

2014-08-27 Thread rulinma
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: Solr CPU Usage

2014-08-28 Thread rulinma
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: Cloudera Manager install

2014-09-15 Thread rulinma
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: Access solr cloud via ssh tunnel?

2014-09-16 Thread rulinma
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: How to make solr fault tolerant for query?

2014-09-18 Thread rulinma
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

2014-09-18 Thread rulinma
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

2014-09-18 Thread rulinma
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

2014-09-18 Thread rulinma
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?

2014-09-18 Thread rulinma
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

Re: MergeReduceIndexerTool takes a lot of time for a limited number of documents

2014-09-21 Thread rulinma
-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 lis

Re: Loading an index (generated by map reduce) in SolrCloud

2014-09-24 Thread rulinma
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: Solr Boosting Unique Values

2014-09-28 Thread rulinma
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.

how to query this?

2014-10-26 Thread rulinma
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

Re: how to query this?

2014-10-27 Thread rulinma
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: Error while starting Solr on Websphere

2013-03-20 Thread rulinma
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 li

Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-17 Thread rulinma
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 archi

solr shards

2013-02-20 Thread rulinma
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://lu

Re: 答复: solr shards

2013-02-25 Thread rulinma
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 d

solrCloud insert data steps

2013-02-27 Thread rulinma
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

SolrCloud query with shardid or not, different route

2013-02-27 Thread rulinma
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)

Re: Advice: solrCloud + DIH

2013-03-14 Thread rulinma
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 fr

Re: Embedded Solr

2013-03-14 Thread rulinma
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

Re: Advice: solrCloud + DIH

2013-03-15 Thread rulinma
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?

2013-03-15 Thread rulinma
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.