Exact word match

2014-02-14 Thread Sohan Kalsariya
Hello, I want to the exact results for my query. For e.g. when i search "New york" , then it doesn't give me exact results about New York But it also give me results like: New York New Delhi And other cities starting from "New" So how can i get only results for "New York" ? -- Regards, *Sohan Kal

Re: SolrJ Socket Leak

2014-02-14 Thread Jared Rodriguez
Thanks for the info, I will look into the open file count and try to provide more info on how this is occurring. Just to make sure that our scenarios were the same, in your tests did you simulate many concurrent inbound connections to your web app, with each connection sharing the same instance of

update in SolrCloud through C++ client

2014-02-14 Thread neerajp
Hello All, I am using Solr for indexing my data. My client is in C++. So I make Curl request to Solr server for indexing. Now, I want to use indexing in SolrCloud mode using ZooKeeper for HA. I read the wiki link of SolrCloud (http://wiki.apache.org/solr/SolrCloud). What I understand from wiki t

Solr is making Jboss server slower..

2014-02-14 Thread Ramesh
Hi, We are using the solr search, Sometimes due to this our entire system is becoming slow. We didn't got any clue.. So we tried to test load & stress test through the Jmeter. Here we have tried for many times with different testing ways. At random times in Jmeter we are getting the following m

Solr Load Testing Issues

2014-02-14 Thread Annette Newton
Solr Version: 4.3.1 Number Shards: 10 Replicas: 1 Heap size: 15GB Machine RAM: 30GB Zookeeper timeout: 45 seconds We are continuing the fight to keep our solr setup functioning. As a result of this we have made significant changes to our schema to reduce the amount of data we write. I setup a ne

Re: Exact word match

2014-02-14 Thread Jack Krupansky
Set the default query operator (q.op parameter) to AND, or enclosed the full phrase in quotes. -- Jack Krupansky -Original Message- From: Sohan Kalsariya Sent: Friday, February 14, 2014 4:29 AM To: solr-user@lucene.apache.org Subject: Exact word match Hello, I want to the exact resul

Re: update in SolrCloud through C++ client

2014-02-14 Thread Erick Erickson
OK, I'll go way out on a limb here since I know so little about the guts of the ZK/Solr interactions on the theory that if I'm wrong someone will jump in and I'll remember the data due to being embarrassed. ZK doesn't really know much about Solr. It knows there are a bunch of nodes out there r

Re: Solr is making Jboss server slower..

2014-02-14 Thread Erick Erickson
Nothing in that stack trace looks like it has anything to do with Solr/Lucene. What makes you think Solr is the culprit? jstack can be used to see what _all_ the threads on a machine are doing, you might try using that. You also need to describe what the server "coming down" means. Gets slow? Cra

Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Eric_Peng
Need help, Thx in advance. About import a big XML document (using DIH or SolrJ) into Solr core(for examle "SolrPedia"), it works fine when I query. But after I stop the server, and then restart my Jetty server. I could not ping the core "SolrPedia"

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Erick Erickson
when you restart the server, what do the logs show? Take a look at the size of your transaction log. There's a possibility that if you do not commit correctly, all the data you put in the core is replaying on startup, see: http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-a

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Greg Walters
You should check your server logs for error messages during startup related to loading that core. Feel free to post them here if you can't parse them. Thanks, Greg On Feb 14, 2014, at 10:14 AM, Eric_Peng wrote: > Need help, Thx in advance. > > About import a big XML document (using DIH or Sol

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Eric_Peng
Some warning...always,but no errors 12:00:23 WARN SolrResourceLoader Can't find (or read) directory to add to classloader: ../../../contrib/extraction/lib (resolved as: D:\workspaceEE\TestSolr\solr\collection1\..\..\..\contrib\extraction\lib). 12:00:23 WARN SolrResourceLoader Can't find (or read)

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Eric_Peng
I think I juse used hard Commit // Make the docs we just added searchable using a "hard" commit solr.commit(true, true); -- View this message in context: http://lucene.472066.n3.nabble.com/Could-not-connect-or-ping-a-core-after-import-a-big-data-into-it-tp4117416p4117432.html S

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Eric_Peng
One another thing wield is that: If I just import a small data everything goes very well. Still have the same warnings in log but everything works fine -- View this message in context: http://lucene.472066.n3.nabble.com/Could-not-connect-or-ping-a-core-after-import-a-big-

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Erick Erickson
More looking for log messages at the end of the log. There are a bunch of messages that come out when you start up your server. Also look at enabling more detailed logging, will take editing the log properties file since, if you don't find anything useful at the INFO level, you need to change thing

RE: Multiple Column Condition with Relevance/Rank

2014-02-14 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Thanks for the Info, I am getting all the results, but I need to get the exact match as the first row and after that the near by match. Something like relevance order. -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Thursday, February 13, 2014 9:17 AM To:

Re: Multiple Column Condition with Relevance/Rank

2014-02-14 Thread Tri Cao
Taminidi,Relevance ranking is tricky and very domain specific. There are usually multiple ways to do the same thing, each is better at some edge cases and worse at some others :)It looks to me that you are trying to rank the products by: exact match on SKU, then exact match on ManufactureSKU, then

Re: Could not connect or ping a core after import a big data into it...

2014-02-14 Thread Eric_Peng
Last 3 lines of the log(only these have something special) 12:17:12 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.JsonUpdateRequestHandler]. Please consult documentation how to replace it accordingly. 12:17:12 WARN SolrResourceLoader Solr loaded a deprecated plugin/a

Solr Hot Cpu and high load

2014-02-14 Thread Nitin Sharma
Hell folks We are currently using solrcloud 4.3.1. We have 8 node solrcloud cluster with 32 cores, 60Gb of ram and SSDs.We are using zk to manage the solrconfig used by our collections We have many collections and some of them are relatively very large compared to the other. The size of the sha

Re: SolrJ Socket Leak

2014-02-14 Thread Shawn Heisey
On 2/14/2014 2:45 AM, Jared Rodriguez wrote: > Thanks for the info, I will look into the open file count and try to > provide more info on how this is occurring. > > Just to make sure that our scenarios were the same, in your tests did you > simulate many concurrent inbound connections to your web

Re: Solr Load Testing Issues

2014-02-14 Thread Shawn Heisey
On 2/14/2014 5:28 AM, Annette Newton wrote: > Solr Version: 4.3.1 > Number Shards: 10 > Replicas: 1 > Heap size: 15GB > Machine RAM: 30GB > Zookeeper timeout: 45 seconds > > We are continuing the fight to keep our solr setup functioning. As a > result of this we have made significant changes to o

Re: Solr Hot Cpu and high load

2014-02-14 Thread Tri Cao
1. Yes, that's the right way to go, well, in theory at least :)2. Yes, queries are alway fanned to all shards and will be as slow as the slowest shard. When I looked intoSolr distributed querying implementation a few months back, the support for graceful degradation for thingslike network failures

There is integration of spring-data-solr with tika?

2014-02-14 Thread osymad
There is some configuration to use spring-data-solr with tika? Otherwise some alternative to solrj ContentStreamUpdateRequest+addfile for spring-data-solr? Currently I have another one using sorj + tika as: * SolrServer server = new HttpSolrServer(URL); ... Tika tika = new Tika(); ... String file

Re: SolrCloud Zookeeper disconnection/reconnection

2014-02-14 Thread Ramkumar R. Aiyengar
Ludovic, recent Solr changes won't do much to prevent ZK session expiry, you might want to enable GC logging on Solr and Zookeeper to check for pauses and tune appropriately. The patch below fixes a situation under which the cloud can get to a bad state during the recovery after session expiry. Th

DIH

2014-02-14 Thread William Bell
On virtual cores the DIH handler is really slow. On a 12 core box it only uses 1 core while indexing. Does anyone know how to do Java threading from a SQL query into Solr? Examples? I can use SolrJ to do it, or I might be able to modify DIH to enable threading. At some point in 3.x threading was