Re: Inconsistent Behavior of Solr Cloud

2014-06-16 Thread Vineet Mishra
Hi Erick, Thanks for your response, well I got it resolved. I think the index were not properly distributed and moreover I had some uneven behavior while indexing, so to elaborate it, I had three shards in my collection, I started indexing with EmbeddedSolrServer and indexed around 50 Million Doc

Re: Full Indexing fails on Solr-Probable connection issue.HELP!

2014-06-16 Thread Aniket Bhoi
On Tue, Jun 3, 2014 at 6:28 PM, Shawn Heisey wrote: > On 6/3/2014 3:04 AM, Aniket Bhoi wrote: > > I changed the value of removeAbandoned to false,this time the indexing > > failed due to a different exception: > > > > > Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Connection > >

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-16 Thread Mikhail Khludnev
On Mon, Jun 16, 2014 at 6:57 AM, Floyd Wu wrote: > Hi Mikhail, > What is the pros. to disable tlog? > I consumes the heap much providing the benefits (real-time get, recover uncommitted docs on failure) which are not necessary in old-school bulk index scenario. > Each of my xml file contained t

RE: weirdness when searching with mix alpha numeric query word

2014-06-16 Thread Tang, Tj
It was being dropped by one of the processing steps in the field for the query. Fixed now. Thanks, -tj TZE-JOHN TANG Platform Informatics and Knowledge Management 1 N Waukegan Road North Chicago, IL 60064 Dept R42T, Building AP10-2 OFFICE    +1 847-935-3134 CELL +1 312-560-3763 EMAIL

Highlights in Query response

2014-06-16 Thread Venkata krishna
Hi, Is there any option for to integrate highlights in query response instead of showing query response and highlighted snippets separately? if possible then could you please provide an example or sample code for showing highlights in query response. Thanks, Venkata krishna Tolusuri. -- V

Re: Delta-Import not loading child entities?

2014-06-16 Thread Drew Mazurek
I thought about this, and is it possible that for delta imports Solr is expecting a persistent cache, like the old BerkleyBackedCache? I can't imagine any other reason why it wouldn't run the subentity queries on delta imports. - Drew On Fri, Jun 13, 2014 at 4:37 PM, Drew Mazurek wrote: > Sur

Re: Highlights in Query response

2014-06-16 Thread Ahmet Arslan
Hi, Here is the open ticket opened by Hoss for your need : https://issues.apache.org/jira/browse/SOLR-3479 Please vote and watch it. Ahmet On Monday, June 16, 2014 3:11 PM, Venkata krishna wrote: Hi, Is there any option for to integrate highlights in query response instead of showing query

Re: Inconsistent query times

2014-06-16 Thread drmangrum
Bumping with a little more information... I think I've localized the issue to Zookeeper. When I query SolrCloud nodes individually, they all run well and perform as expected; I can execute 1800 queries in 3 seconds. It's only when I run a query through zookeeper that problems arise. I've look

Re: Inconsistent query times

2014-06-16 Thread Shawn Heisey
On 6/16/2014 9:28 AM, drmangrum wrote: > Bumping with a little more information... > > I think I've localized the issue to Zookeeper. > > When I query SolrCloud nodes individually, they all run well and perform as > expected; I can execute 1800 queries in 3 seconds. It's only when I run a > quer

Solr RSS feed import

2014-06-16 Thread Manu.K.T
Hi, I have the below XML format: http://www.w3.org/2005/Atom";> NEWS Today http://abc.day.in/ Mon, 16 Jun 2014 06:54:15 GMT FeedCreator 1.7.2 http://abc.day.in/service/images/rss/16-June-1.jpg India Today | TN NEWS http://abc.day.in/ abc today threatening mails http://abc.day.in

Match in MultiValueField

2014-06-16 Thread StickHello
If am searching for a query say "foo bar" and "foo" is matching in a value of a multivalued field. can i get that value of the multivalued field. Suppose i have a multivalued field like no foo1 yes foo no foo1 Can i get that in f1 it match at 2nd value which is "yes foo", how do we get this? On

Re: Inconsistent query times

2014-06-16 Thread drmangrum
I'm using SolrJ's CloudSolrServer that accepts the address of your zookeeper instances and does the grunt work for you. I guess the problem could be with that class. -- View this message

Re: SOLR Cloud Rebuild core

2014-06-16 Thread Greg Walters
Plus one to Shawn's method below. I'm using that method in production right now and on occasion there's only a small blip of queued queries while the alias is in the process of swapping. Thanks, Greg On Jun 15, 2014, at 10:36 AM, Shawn Heisey wrote: > On 6/14/2014 1:29 PM, Branham, Jeremy [HR

Re: Inconsistent query times

2014-06-16 Thread lboutros
Hi, this could be a network issue, like dns resolving. To verify this you could update your host file with the ip address of your nodes. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Inconsistent-query-times-tp4138956p4142098.html Sent from

Re: Inconsistent query times

2014-06-16 Thread Daniel Collins
Ok, so we have 2 different scenarios here, running a query through admin UI and I'm assuming there you are quoting qTimes from the )UI, direct to the relevant core, and running through CloudSolrServer (what you called "running a query through ZK"). Questions: - What timings are you using when you

How to count the number of faceting entries ?

2014-06-16 Thread vit
I am placing the following query http:///solr/collection1/select?q=*%3A*&wt=xml&indent=true&facet=true&facet.field=category_id&facet.limit=-100 Which gives unlimited number of faceted results for category_id. What do I need to add to the query to get the number of faceted results? -- View this

Re: Inconsistent query times

2014-06-16 Thread drmangrum
I've found the issue and I feel rather foolish. One of my servers wasn't responding. For some reason it didn't like to be on port 12000. As soon as I changed the port number, everything ran swimmingly. Thanks for your time. -- View this message in context: http://lucene.472066.n3.nabble.co

Re: Debug different Results from different Request Handlers

2014-06-16 Thread Erik Hatcher
If you want the two request handlers to have the same behavior, but just the velocity stuff be different, than remove everything except echoParams, wt, v.template, v.base_dir, v.layout, (and title if your templates are using it, the default does). You can see which query parser is being used by

Garbage collection issue and RELOADing cores

2014-06-16 Thread François Schiettecatte
Hi I am running into an interesting garbage collection issue and am looking for suggestions/thoughts. Because some word lists such as synonyms, plurals, protected words need to be updated on a regular basis I have to RELOAD a number of cores in order to 'pick up' the new lists. What I have

Custom DataImportHandler Transformer

2014-06-16 Thread MB Y
Hi, I am attempting to write a custom DataImportHandler transformer and am having trouble with the proper deployment into SOLR 4.4.0 running on Tomcat 7.0. These are the steps I have followed: 1. I used a watered-down version of the TrimTransformer code given in the DIHCustomTransformer Wiki

Re: Custom DataImportHandler Transformer

2014-06-16 Thread Ahmet Arslan
Hi, You may need to pass fully qualified class name. e.g.  TrimTransformer => com.company.solr.TrimTransformer solrhome/core/lib is a better place for custom plugins https://wiki.apache.org/solr/SolrPlugins#How_to_Load_Plugins On Tuesday, June 17, 2014 12:11 AM, MB Y wrote: Hi, I am attemp

Why does SolrCloud not support merge-shard yet?

2014-06-16 Thread vb2317
Hi, The split-shard feature of SolrCloud has been around for a while. And it sounds like a necessary feature to be able to scale down a system, that was scaled up (to optimize resource utilization). What is the reason that MergeShard has not been introduced in SolrCloud yet? I imagine I could

Re: Inconsistent Behavior of Solr Cloud

2014-06-16 Thread Erick Erickson
What do you mean "indexed for the next shard"? With embeddedSolrServer, you will have to map the documents into the proper shard (probably a separate directory?), then keep very careful track of what shards they are, then move them correctly to the proper "real" Solr server and... Simply indexing a

Re: What is the best approach to send lots of XML Messages to Solr to build index?

2014-06-16 Thread Floyd Wu
Hi Mikhail Thanks for you suggestions. Floyd 2014-06-16 17:28 GMT+08:00 Mikhail Khludnev : > On Mon, Jun 16, 2014 at 6:57 AM, Floyd Wu wrote: > > > Hi Mikhail, > > What is the pros. to disable tlog? > > > I consumes the heap much providing the benefits (real-time get, recover > uncommitted docs

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: Why does SolrCloud not support merge-shard yet?

2014-06-16 Thread Shalin Shekhar Mangar
I guess it is possible just that nobody has contributed a patch yet. That sounds about right though. On Tue, Jun 17, 2014 at 6:04 AM, vb2317 wrote: > Hi, > > The split-shard feature of SolrCloud has been around for a while. And it > sounds like a necessary feature to be able to scale down a sys

Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-16 Thread Marius Dumitru Florea
On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea wrote: > Hi guys, > > After I upgraded to Solr 4.8.1 I got a few warning messages in the log > at startup: > > WARN o.a.s.c.SolrResourceLoader - Solr loaded a deprecated > plugin/analysis class [solr.ThaiWordFilterFactory]. Please consul

Searching for string having apostrophe

2014-06-16 Thread Gaurav Deshpande
Hi, I want to perform name searches in Solr on String and text datatypes but names contain apostrophes in it. Is there a way I can escape these apostrophes and perform searches ? Using '\' before apostrophe results in forbidden access due to cross site scripting attacks. Any help or pointers

Re: Searching for string having apostrophe

2014-06-16 Thread Ahmet Arslan
Hi, Apostrophes are not part of the special query parser characters. You don't need to escape it. Can you give some examples ? On Tuesday, June 17, 2014 8:35 AM, Gaurav Deshpande wrote: Hi, I want to perform name searches in Solr on String and text datatypes but names contain apostrophes i

Re: Warning message logs on startup after upgrading to 4.8.1

2014-06-16 Thread Ahmet Arslan
Hi, I think it would attract more attention if title mentions about 'managed resource warn logs' or something like that. AHmet On Tuesday, June 17, 2014 8:12 AM, Marius Dumitru Florea wrote: On Thu, Jun 12, 2014 at 11:16 AM, Marius Dumitru Florea wrote: > Hi guys, > > After I upgraded to Sol