Re: MySQL Exception: Communications link failure WITH DataImportHandler

2012-08-17 Thread Jienan Duan
It happens immediately upon connection,the jdbc string is correct. This problem only happens when DIH trying get a connection to mysql,the network and database server are fine. So I guess it caused by some security configuration on the server and that config has blocked the connection. But other

Re: How to implement Index time boost via DIH?

2012-08-17 Thread Jienan Duan
Hi Why don't you do this at the searching time?ex: q=fullName:foo+lastUpdatedBy:barqf=fullName^2+lastUpdatedBy^0.5 2012/8/17 bbarani bbar...@gmail.com Hi, I am trying to implement index time boost via DIH. but I want to boost at field level rather than document level. Ex: Consider there

RE: Sort on dynamic field

2012-08-17 Thread Peter Kirk
On Thu, Aug 16, 2012 at 8:00 AM, Peter Kirk p...@alpha-solutions.dk wrote: Hi, a question about sorting and dynamic fields in Solr Specification Version: 3.6.0.2012.04.06.11.34.07. I have a field defined like dynamicField name=*_int type=int indexed=true stored=true multiValued=false/

Prefix (facet.prefix) based auto-suggest on Multi-Valued field do not return results

2012-08-17 Thread Rajani Maski
Hi All, * When I do facet.prefix on a * KEYWORDS *field(this field is multi valued) , I don't get suggestion for the first key in this field . * Example : I have 2 documents with the field KEYWORDS containing multiple values. arr name=KEYWORDS str偏振式3D成像原理/str str采用LED边缘发光的新技术/str

Re: Muticore Sharding

2012-08-17 Thread Erik Hatcher
How many documents do you have? What are the queries? I'd guess your query complexity (or load) is to blame here, not index size. What version of Solr? Until you know what is causing the slow queries, sharding is not something to consider I'd say. But yes, you would want to reindex to

Re: Prefix (facet.prefix) based auto-suggest on Multi-Valued field do not return results

2012-08-17 Thread Rajani Maski
Hi, I think this is because of the space observed - facet.prefix= empty string - Please see below lst name=A_KEYS int name= 偏振式3D成像原理3/int int name=usb媒体播放3/int int name=手机智能遥控3/int int name= 紧凑机身,轻松携带 3/int int name=电脑键盘遥控3/int ... so on *But why is this space inserted?* If you

Re: Muticore Sharding

2012-08-17 Thread Sujatha Arun
Hi Erick, The number of documents is : 4389048 I have given 2 queries below with timing and the number of hits INFO: [ipc_widget_search] webapp=/multicore_5 path=/select/

Re: Muticore Sharding

2012-08-17 Thread Erik Hatcher
Just over 4M docs... no need to shard. Both your queries contain what is likely very common terms (content:a in the first one and content:1 in the second). Generally these are stop words and removed either during indexing or querying, but I guess not in your case. What's your standard

Re: Muticore Sharding

2012-08-17 Thread Sujatha Arun
No customization,its the default standard request handler.Solr Version is 1.3 a is not there in stop words Server Load ,i presume is not there , but not too sure ,not checked. RAM : TOTAL RAM :48GB RAM to JVM :18 GB ,Permgen =2GB TOTAL INDEX SIZE of all the multicore Instances =23GB Timing

Re: Muticore Sharding

2012-08-17 Thread Erik Hatcher
Sujatha - that query debug output shows only 218ms, so it isn't representative of the issue you're reporting. Also, what's the query parse output? I imagine you're doing a boolean OR query across all those terms (include a), yes? Maybe you'd rather the operator be AND? Erik On

Re: Muticore Sharding

2012-08-17 Thread Sujatha Arun
Erik, What could be the issue Load / I/O ? It seems to shows upwards of 20 ms at any time Regards Sujatha On Fri, Aug 17, 2012 at 6:18 PM, Erik Hatcher erik.hatc...@gmail.comwrote: Sujatha - that query debug output shows only 218ms, so it isn't representative of the issue you're reporting.

Re: Muticore Sharding

2012-08-17 Thread Sujatha Arun
Sorry typo ,I meant upwards of 20s at any time. What should I be looking at? Regards Sujatha On Fri, Aug 17, 2012 at 8:09 PM, Sujatha Arun suja.a...@gmail.com wrote: Erik, What could be the issue Load / I/O ? It seems to shows upwards of 20 ms at any time Regards Sujatha On Fri, Aug

Re: Muticore Sharding

2012-08-17 Thread Jack Krupansky
First, provide us with the additional info Erik requested in his last reply. Then, can you provide a snippet from your Solr log file that shows a couple of queries. Maybe there is something else going on or some exceptions, or something. Or at least to show us the quey times in context.

How to boost score of particular field in a copy field?

2012-08-17 Thread bbarani
Hi, I have 10 fields copied in to a single copy field for default search. I am trying to boost one particular field in that copy field, but I am not sure how boosting in copy field work. Can someone let me know how boosting works in copy field? Thanks, BB -- View this message in context:

Re: How to boost score of particular field in a copy field?

2012-08-17 Thread bbarani
Thanks a lot for your reply!! This is the problem I face now when using dismax. I have almost 30 fields (Some are dynamic fields from database) copied in to copy field that is being used for default search. Now when I search using dismax I need to include the boost for all the fields in the

Re: Muticore Sharding

2012-08-17 Thread Sujatha Arun
Hi, This is the parsed query string which *returns 3331234 documents* str name=parsedquery_toStringcontent:elena content:read content:a content:rate content:r content:page content:per content:minut content:a content:total content:m content:minut/str re and a Boolean AND query of the above

SolrCloud issue - accents are not getting removed

2012-08-17 Thread sausarkar
We noticed that when we use SolrCloud the accents are not getting removed when we use the charFilter class=solr.MappingCharFilterFactory mapping=mapping-ISOLatin1Accent.txt/ filter. We are using the -Dbootstrap_conf=true to load the conf folder. This filter however is working fine in the

Re: SolrCloud issue - accents are not getting removed

2012-08-17 Thread sausarkar
Just found out that this was not an SolrCloud issue but an issue with the Tomcat configuration basically the URIEncoding was missing added it and it fixed the problem. Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443

How to make a server become a replica / leader for a collection at startup

2012-08-17 Thread Jed Glazner
Hello All, I'm working to solve an interesting problem. The problem that I have is that when I pull a server out of the cloud (to do maintenance say) and then bring it back up, it won't automatically sync up with zookeeper and become a leader or replica for any

Solr RSS DIH dateTimeFormat does work

2012-08-17 Thread jayantu
I have DIH for indexing RSS feeds. the problem is that the date format expected by solr is 1995-12-31T23:59:59Z while the way i see the date that comes in rss feed is 'Wed, 15 Aug 2012 14:11:27 EDT' so I used the dateTimeFormat transformer like this: field column=pubDate

Re: Solr RSS DIH dateTimeFormat does work

2012-08-17 Thread Lance Norskog
Have you checked this date time format in Java code? On Fri, Aug 17, 2012 at 2:42 PM, jayantu jayant_umr...@yahoo.com wrote: I have DIH for indexing RSS feeds. the problem is that the date format expected by solr is 1995-12-31T23:59:59Z while the way i see the date that comes in rss feed is