Re: Solr Stop with -K

2016-07-29 Thread scott.chu
. scott.chu,scott@udngroup.com 2016/7/29 (週五) - Original Message - From: Srinivasa Meenavali To: solr-user CC: Date: 2016/7/29 (週五) 14:46 Subject: Solr Stop with -K Hi, Can somebody explain advantage of Stop solr with "-k" option ? -k Stop key used to protect from sto

Re(2): Are there issues with the use of SolrCloud / embedded Zookeeperin non-HA deployments?

2016-07-28 Thread scott.chu
e pid. The reason is that the window title won't change to the 'zookeeper' when I run zkServer.cmd in it. scott.chu,scott@udngroup.com 2016/7/29 (週五) - Original Message - From: Andrew Chillrud To: solr-user CC: Date: 2016/7/29 (週五) 01:24 Subject: RE: Are there issues w

Re(2): Can we directly move the solr instance running as standalone toSOLR CLOUD?

2016-06-23 Thread scott.chu
Me and Erick have answered your question eariler. Please go check them. scott.chu,scott@udngroup.com 2016/6/23 (週四) - Original Message - From: Preeti Bhat To: solr-user CC: Date: 2016/6/23 (週四) 12:02 Subject: RE: Can we directly move the solr instance running as standalone

Re: Can we directly move the solr instance running as standalone to SOLRCLOUD?

2016-06-22 Thread scott.chu
d1_replica#. In this folder, there's the 'data' subfolder. Make a backup of this 'data' folder. Then copy your data folder of your standalone core. Now Restart SolrCloud (Maybe no need) and try query the collection mycol on Admin UI. scott.chu,scott@udngroup.com 2016

Re(2): Do we really need to build all existing index data again afterchanging schema? [scottchu]

2016-06-22 Thread scott.chu
and in the paragraph "Update Solr Schema", the author writes "you will either need to re-load this Solr Core or restart Solr so it picks up the new Schema.xml.". He never mention "rebuild existing index data". It sounds to me there's no need to "reindex"

Do we really need to build all existing index data again after changing schema? [scottchu]

2016-06-21 Thread scott.chu
According to https://wiki.apache.org/solr/HowToReindex, If I understand right, once we change schema after index built, we have to rebuild all index again. Is there really no other way to keep existing index data and still apply new schema? scott.chu,scott@udngroup.com 2016/6/22 (週三)

ghost dynamic fileds: *____amount_raw and *____currency

2016-06-15 Thread scott.chu
two ghost dynamic fields. Where do them come from and how can I eliminate them? scott.chu,scott@udngroup.com 2016/6/16 (週四)

'solr start' cause 'unsupported TCP/TPI info selection' error when execute lsof command

2016-06-15 Thread scott.chu
Is there any way to upgrade lsof under CentOS 5 other than using yum? Or any other way to work around this problem? scott.chu,scott@udngroup.com 2016/6/16 (週四)

Re: Define search query parameters in Solr or let clients applicationscraft them?

2016-06-14 Thread scott.chu
estion, IMHO, I wouldn't define query parameters in Solr unless you think they WOULD BE GLOBALIZED. You can consider our solution. scott.chu,scott@udngroup.com 2016/6/15 (週三) - Original Message - From: Derek Poh To: solr-user CC: Date: 2016/6/13 (週一) 11:21 Subject: Define s

Re(2): Concern of large amount daily update

2016-06-08 Thread scott.chu
Thanks! I thought it's a fairly-large amount. Looks like I need more exprience on Solrcloud. Ya, I also believe reading from MySql could be a bottleneck of the workflow. I pass your suggestion to my colleagues. Thanks again! scott.chu,scott@udngroup.com 2016/6/8 (週三) - Original Me

Concern of large amount daily update

2016-06-06 Thread scott.chu
any suggestion or expereiences for preparing appropriate h/w, e.g. CPU or RAM? scott.chu,scott@udngroup.com 2016/6/7 (週二)

Re(2): Can "Using cp replica and modifying core.properties" rather thanADDREPLICA API work?

2016-05-30 Thread scott.chu
Thanks for your advice, Erick. I think you point out what I didn't think of and a possible side effect in the future. I'll go back to the "normal" way next time I do the same job. scott.chu,scott@udngroup.com 2016/5/31 (週二) - Original Message - From: Erick Eri

Re: Recommended api/lib to search Solr using PHP

2016-05-30 Thread scott.chu
ling%20Solarium I follow it and install and use Solarium correctly. scott.chu,scott@udngroup.com 2016/5/31 (週二) - Original Message - From: Shawn Heisey To: solr-user CC: Date: 2016/5/31 (週二) 02:57 Subject: Re: Recommended api/lib to search Solr using PHP On 5/30/2016 12:32 PM,

Re(2): Recommended api/lib to search Solr using PHP

2016-05-30 Thread scott.chu
Thanks, guys! My engineers just find another thing called 'SolrPhpClient'. But I am trying solarium again. It just looks like a well-structured API. (Note: Actually, I've noticed it from very beginning when it's developed but never give it a try.) scott.chu,scott@ud

Recommended api/lib to search Solr using PHP

2016-05-30 Thread scott.chu
nstalltion steps has something to do with symphony, which is kinda complicated. We can't get the installation done ok. I'd like to know if there are some other better-structured PHP libraries or APIs? Note: Solr is 5.4.1. scott.chu,scott@udngroup.com 2016/5/30 (週一)

Re(2): How to save index data to other place? [scottchu]

2016-05-29 Thread scott.chu
Thanks! I'll see to it. There're a lot to learn for CentOS, Geez. scott.chu,scott@udngroup.com 2016/5/30 (週一) - Original Message - From: Shawn Heisey To: solr-user CC: Date: 2016/5/27 (週五) 15:13 Subject: Re: How to save index data to other place? [scottchu] On 5/26

Re: How to save index data to other place? [scottchu]

2016-05-26 Thread scott.chu
olr. So can you show me (or hint me) how to: * Install solr and zookeeper with install shell script under CentOS 6.4? * How to auto start solr and zookeeper under CentOS 6.4? Thanks in advance! scott.chu,scott@udngroup.com 2016/5/27 (週五) - Original Message - From: Shawn Heisey To:

Can "Using cp replica and modifying core.properties" rather than ADDREPLICA API work?

2016-05-26 Thread scott.chu
ram. However, I'm wondering if this gonna be ok or if there's something might cause inconsistency that doesn't show on admin ui? p.s. I did this because I want to save the time to create a new replica. scott.chu,scott@udngroup.com 2016/5/27 (週五)

Re(2): How to save index data to other place? [scottchu]

2016-05-25 Thread scott.chu
Thanks! I thought I have to tune solrconfig.xml. scott.chu,scott@udngroup.com 2016/5/26 (週四) - Original Message - From: Jay Potharaju To: solr-user ; scott(自己) CC: Date: 2016/5/26 (週四) 11:31 Subject: Re: How to save index data to other place? [scottchu] use property.*dataDir

Re(2): What if adding 3rd node exceeds replication Factor?[scottchu]

2016-05-25 Thread scott.chu
Thanks! Looks like replicationFactor is only a startup parameter. scott.chu,scott@udngroup.com 2016/5/26 (週四) - Original Message - From: Jeff Wartes To: solr-user CC: Date: 2016/5/26 (週四) 00:26 Subject: Re: What if adding 3rd node exceeds replication Factor?[scottchu

How to save index data to other place? [scottchu]

2016-05-25 Thread scott.chu
When I create a collection, say named 'cugna'. Solr create a folder with same name under server\slolr, e.g. /local/solr-5.4.1/server/solr/cugna. Index data is also saved there. But wish to save index data on other folder, say /var/sc_data/cugna. How can I dothis? scott

Caused by: java.sql.SQLException: Unknown character set index for field '224' received from server. when do DIH [scottchu]

2016-05-24 Thread scott.chu
as follows: When I do DIH, the solr.log shows: "Unable to execute SELECT * FROM ..." ... ... ... Caused by: java.sql.SQLException: Unknown character set index for field '224'. What's does this error message mean? scott.chu,scott@udngroup.com 2016/5/24 (週二)

Re: trying DIH but get 'Sorry, no dataimport-handler defined!'

2016-05-24 Thread scott.chu
and everything is ok now! TOO WEIRD! scott.chu,scott@udngroup.com 2016/5/24 (週二) - Original Message - From: kostali hassan To: solr-user ; scott(自己) CC: Date: 2016/5/24 (週二) 16:55 Subject: Re: trying DIH but get 'Sorry, no dataimport-handler defined!' if you have in

Re(2): Import html data in mysql and map schemas using onlySolrCELL+TIKA+DIH [scottchu]

2016-05-24 Thread scott.chu
I read that but can't quite understand the steps! That's why I ask help here. scott.chu,scott@udngroup.com 2016/5/24 (週二) - Original Message - From: Markus Jelsma To: solr-user ; solr-user CC: Date: 2016/5/24 (週二) 17:52 Subject: RE: Import html data in mysql and map sch

Re: trying DIH but get 'Sorry, no dataimport-handler defined!'

2016-05-24 Thread scott.chu
I try run the example by issuing "bin\solr create_core -c exampledih -d example\example-DIH\solr\db\conf". It also shows same error. Do I issue wrong command? scott.chu,scott@udngroup.com 2016/5/24 (週二) - Original Message - From: scott(自己) To: solr-user CC: Date: 201

trying DIH but get 'Sorry, no dataimport-handler defined!'

2016-05-24 Thread scott.chu
7; item but rightpane shows "Sorry, no dataimport-handler defined!". What do I miss? scott.chu,scott@udngroup.com 2016/5/24 (週二)

Re: Import html data in mysql and map schemas using only SolrCELL+TIKA+DIH [scottchu]

2016-05-23 Thread scott.chu
Can anyone show me an example or short help of how I can do it? I am to use Solr 5 or up to carry out it. scott.chu,scott@udngroup.com 2016/5/24 (週二) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/20 (週五) 14:17 Subject: Import html data in mysql and map

Re: What to do best when expaning from 2 nodes to 4 nodes? [scottchu]

2016-05-23 Thread scott.chu
Thanks for your considerable opinion. I'll try addreplica first. scott.chu,scott@udngroup.com 2016/5/24 (週二) - Original Message - From: Erick Erickson To: solr-user ; scott(自己) CC: Date: 2016/5/24 (週二) 01:56 Subject: Re: What to do best when expaning from 2 nodes to 4

Re: Why error #400 bad request somtimes where I add doc to Solrcloud collection? [scottchu]

2016-05-19 Thread scott.chu
This answers to my own question. Hope to help other people who may experience same problem. It's heap space problem. My case is caused by Google Photo screen saver. Everytime the screen saver is triggered. Not long the JVM can't allocate enough heap space and post.jar failed. scott

Import html data in mysql and map schemas using only Solr CELL+TIKA+DIH [scottchu]

2016-05-19 Thread scott.chu
I have a mysql table with over 300M blog articles. The records are in html format. Is it possible to import these records using only Solr CELL+TIKA+DIH to some Solr with schema? I mean when importing, I can map schema on mysql to schema in Solr? scott.chu,scott@udngroup.com 2016/5/20 (週五)

Re: [scottchu] How to specify multiple zk nodes using solrstartcommand under Windows

2016-05-19 Thread scott.chu
I find a way to stop zk nodes peacefully under Windows. If you start zk nodes in order of 1,2,3 then you should stop them in reverse order, i.e. 3,2,1 Thus you can stop process peacefully without any errors. Hope this help people! scott.chu,scott@udngroup.com 2016/5/19 (週四) - Original

Re: [scottchu] How to specify multiple zk nodes using solrstartcommand under Windows

2016-05-17 Thread scott.chu
Thanks! Once I do experiment ok under Windows. I'll move to CentOS. Actually, I already install 3 zk and Solr on 3 servers with CentOS. It seems that open source project more or less has something unprepared for running under Windows. scott.chu,scott@udngroup.com 2016/5/1

Why error #400 bad request somtimes where I add doc to Solrcloud collection? [scottchu]

2016-05-17 Thread scott.chu
nt: 0:01:51.881 - scott.chu,scott@udngroup.com 2016/5/18 (週三)

A quick way to open stay-opened DOS window on any folder under Windows [scottchu]

2016-05-17 Thread scott.chu
extbox of starting position, type in '%cd%'. 6>Press 'OK'. Now you can copy cdhere.lnk to any folder you want, double-click it, and the DOS windows will be opened and stayed. If you are kinda like me (i.e. not a cygwin guy), then this should help you. Enjoy it! scott.chu,scott@udngroup.com 2016/5/18 (週三 means Wednesday)

Re: [scottchu] How to specify multiple zk nodes using solr startcommand under Windows

2016-05-17 Thread scott.chu
Does anybody know why 'bin\zkServer stop' doesn't work? Note: Gotta say sorry for the repitition of localhost:2181. It's my typo. scott.chu,scott@udngroup.com 2016/5/18 (週三) - Original Message - From: Abdel Belkasri To: solr-user CC: Date: 2016/5/18 (週三) 00:17 Su

Re: [scottchu] How to specify multiple zk nodes using solr start commandunder Windows

2016-05-17 Thread scott.chu
nize themselves. scott.chu,scott@udngroup.com 2016/5/17 (週二) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/17 (週二) 15:35 Subject: [scottchu] How to specify multiple zk nodes using solr start commandunder Windows I start 3 zk nodes at port 2181,2182, and 2

[scottchu] How to specify multiple zk nodes using solr start command under Windows

2016-05-17 Thread scott.chu
I start 3 zk nodes at port 2181,2182, and 2183 on my local machine. Go into Solr 5.4.1 root folder and issue and issue the command in article 'Setting Up an External ZooKeeper Ensemble' in reference guide bin\Solr start -c -s mynodes\node1 -z localhost:2181,localhost:2181,localhost:2183 but it

Re: Updating error while add doc to Solrcloud

2016-05-16 Thread scott.chu
doc, could it cause this updating error since I do see some "can't find leader error' in solr log? scott.chu,scott@udngroup.com 2016/5/17 (週二) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/17 (週二) 14:29 Subject: Updating error while add doc

Updating error while add doc to Solrcloud

2016-05-16 Thread scott.chu
rience this before? What could be the problem? Can I recover it? Or I have to add all docs again? scott.chu,scott@udngroup.com 2016/5/17 (週二) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/17 (週二) 09:39 Subject: Re(2): [scottchu] Cab I migrate solrcloud by ju

Re(2): [scottchu] Cab I migrate solrcloud by just copying whole packagefolder?

2016-05-16 Thread scott.chu
OK! Thanks for reminding. I'll stick to the convention. scott.chu,scott@udngroup.com 2016/5/17 (週二) - Original Message - From: Chris Hostetter To: solr-user ; scott(自己) CC: Date: 2016/5/17 (週二) 02:43 Subject: Re: [scottchu] Cab I migrate solrcloud by just copying

mmseg4j cause error in Solr 6.0.0

2016-05-13 Thread scott.chu
Previously I make an configset with mmseg4j tokenizer and create a core on Solr 5.4.1 under Win7. It's successfully. Today I repeat same steps under Solr 6.0.0. When I crate collection, it return the error message: * ERROR: Failed to create collection 'cloud_

Re(2): [scottchu] What kind of configuration to use for this size ofnewsdata?

2016-05-11 Thread scott.chu
be" (not just be able to) allowed to install whole system, including s/w and h/w, on their site. The license is not about Solr. It's about this whole service. Our biz manager want to get that budget and it's approved by boss. So he ask us to provide such service. scott.chu,scott@ud

Re(2): [scottchu] What kind of configuration to use for this size ofnews data?

2016-05-11 Thread scott.chu
into SolrCloud. I'm also have no practical experience on SolrCloud. Zookeeper also looks like an unknown territory for me but it's really like a good choice for my job. scott.chu,scott@udngroup.com 2016/5/12 (週四) - Original Message - From: Shawn Heisey To: solr-user CC:

Re(2): [scottchu] What kind of configuration to use for this size ofnews data?

2016-05-11 Thread scott.chu
an up-to-date dictionary. If there's someone has experiences running a Chinese-corpus Solr server, I'll appreciate if you're willing to share your case. Thanks again and best regards, you guys save many time for my job ^_^ scott.chu,scott@udngroup.com 2016/5/12 (週四)

Re: [scottchu] What kind of configuration to use for this size ofnews data?

2016-05-11 Thread scott.chu
Subject: Re: [scottchu] What kind of configuration to use for this size ofnews data? Hi, Charlie, Thanks first for your concrete answer. I have further questions as written in blue color below. scott.chu,scott@udngroup.com 2016/5/11 (週三) - Original Message - From: Charlie Hull

Re: [scottchu] What kind of configuration to use for this size ofnews data?

2016-05-11 Thread scott.chu
Hi, Charlie, Thanks first for your concrete answer. I have further questions as written in blue color below. scott.chu,scott@udngroup.com 2016/5/11 (週三) - Original Message - From: Charlie Hull To: solr-user@lucene.apache.org CC: Date: 2016/5/11 (週三) 16:21 Subject: Re

[scottchu] What is the host name for? can we change 'solr' in request url to some other name?

2016-05-11 Thread scott.chu
I see there's a -h option for bin\solr start command. What's that for? When we crate a core, say 'abc', the request url is something like http:///solr/abc. I'd like to change 'solr' to other name, how can I do it?

Re: [scottchu] What kind of configuration to use for this size of news data?

2016-05-10 Thread scott.chu
A further question: Can master-slave and SolrCloud exist simultaneously in one Solr server? If yes, how can I do it? scott.chu,scott@udngroup.com 2016/5/11 (週三) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/11 (週三) 11:11 Subject: [scottchu] What kind of

[scottchu] What kind of configuration to use for this size of news data?

2016-05-10 Thread scott.chu
Fix some typos, add some words and resend same question => I want to build a Solr engine for over 60-year news articles. My requests are (I use Solr 5.4.1): 1> Currently over 10M no. of docs. 2> Currently over 60GB total data size. 3> The no. of docs and data size will keep growing at the rate

[scottchu] What kind of configuration to use for this size of news data?

2016-05-10 Thread scott.chu
nd use some well suggestion and experiences. Thanks in advance and best regards. scott.chu,scott@udngroup.com 2016/5/11 (週三)

Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-11 Thread scott.chu
I got a custom tokenizer. When configuring it, there's an attribute 'fileDir', whose value is a path relative to solr home. But I wish it can be relative to current core. Is there some system variable out-of-box, say {current_core}, that I can use in the value? For example, solr home = /solr5

[scottchu] Is it possible to create a new colr in Solr 5.5 using my old schema.xml and solrconfig.xml?

2016-03-27 Thread scott.chu
has built? 5. Is creating core with schema.xml achievable via admin UI? Thanks for help in advance! scott.chu,scott@udngroup.com 2016/3/28 (週一) P.S. Thanks to Reth RM's reply to my another post(How to rebuild master-slave multi-core with schema.xmlfrom old verison in So

scottchu] How to rebuild master-slave multi-core with schema.xml from old verison in Solr 5.5

2016-03-27 Thread scott.chu
multi-core-with-schema-xml-from-old-verison-in-solr scott.chu,scott@udngroup.com 2016/3/28 (週一)