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.

Fast question about replication between solr version

2014-09-18 Thread mizayah
I cant't find anywhere inofrmation about replication between solr version. Is it possible replicate between example solr 4.2 and 4.10 without any problems? What i need is to upgrade version and don't wona re-index all from beginning. -- View this message in context:

AW: Solr(j) API for manipulating the schema(.xml)?

2014-09-18 Thread Clemens Wyss DEV
as our framework so far only knows a few field types dynamic fields may be the way to go... And if there are new fieldtypes the new schema can be distributed through ZooKeeper -Ursprüngliche Nachricht- Von: Erick Erickson [mailto:erickerick...@gmail.com] Gesendet: Mittwoch, 17.

Increase maxBooleanClauses limit at run time

2014-09-18 Thread Vishnu Mishra
Hi I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. But my application need to change this limit at run time depending upon the query. So can I set this limit at run time for e.g. in SolrParam or in other ways. -- View this message in context:

RE: Solr Suggestion not working in solr PLZ HELP

2014-09-18 Thread vaibhav.patil123
Hello Thanks for response. :) I am new in solr it better can you tell me steps of configration I need to do to reslove this issue. Appericate your help. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Suggestion-not-working-in-solr-PLZ-HELP-tp4159351p4159582.html Sent

How to summarize a String Field ?

2014-09-18 Thread YouPeng Yang
Hi One of my filed called AMOUNT is String,and I want to calculate the sum of the this filed. I have try it with the stats component,it only give out the stats information without sum item just as following: lst name=AMOUNT str name=min/str str

Re: Implementing custom analyzer for multi-language stemming

2014-09-18 Thread atawfik
Hi, The author of Solr in Action has produced something similar to what you want. I even has used it for one of my projects where I needed to automatically analyze languages. Here is the link to its code https://github.com/treygrainger/solr-in-action/tree/master/src/main/java/sia/ch14

Re: Implementing custom analyzer for multi-language stemming

2014-09-18 Thread roman-v1
Is there a way to set attribute in tokenizer to document to search by word and this attribute? -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-custom-analyzer-for-multi-language-stemming-tp4150156p4159594.html Sent from the Solr - User mailing list archive at

Re: Error - Parent /overseer/queue missing for /overseer/queue/

2014-09-18 Thread NareshJakher
Hi, I delete data folder and issue is resolved. It seems some of the files in data folder got corrupt. Naresh -- View this message in context: http://lucene.472066.n3.nabble.com/Error-Parent-overseer-queue-missing-for-overseer-queue-tp4158208p4159601.html Sent from the Solr - User mailing

Re: Ping handler during initial wamup

2014-09-18 Thread Ere Maijala
So, is it possible to configure a ping handler to return quickly with non-OK status if a search handler is not yet available? This would allow the load balancer to quickly fail over to another server. I couldn't find anything like this in the docs, but I'm still hopeful. I'm aware of the

Re[2]: Implementing custom analyzer for multi-language stemming

2014-09-18 Thread roman-v1
Thu, 18 Sep 2014 01:34:29 -0700 (PDT) от roman-v1 [via Lucene] ml-node+s472066n415959...@n3.nabble.com: Is there a way to set attribute in tokenizer to document to search by word and this attribute?

Large Transaction Logs Out of memory

2014-09-18 Thread or gerson
Hello, i have encountered this problem where one of the transaction logs size reached about 60GB in the solr log i have seen outOfMemeoryError during delta import. autoCommit is configured as : maxDocs2/maxDocs maxTime3/maxTime openSearcherfalse/openSearcher

join on same field in same core

2014-09-18 Thread abhayd
hi All, I am solr schema like id | task 1|t1 1|t2 2|t2 2|t3 I would like to get all the id's where task t2 t1 are associated with same id. Is there anyway we can do inner query or self join to get results? -- View this message in context:

slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Clemens Wyss DEV
I doing initial steps with solrj which is based on httpclient 4. Unfortunately parts of our framework are based on httpclient 3. So when I instantiate an HttpSolrServer I run into: java.lang.VerifyError: Cannot inherit from final class ... at

Solr optimistic concurrency update: version conflict

2014-09-18 Thread FiMka
Hi, could you please help me to understand why I have such results for optimistic concurrency update. Say, I have the following document: In solrconfig.xml: In schema.xml: Because I use SignatureUpdate, I can't use partial update requests containing signature field (known Solr

Re: How to exclude a mimetype in tika?

2014-09-18 Thread keeblerh
eShard wrote Good afternoon, I'm using solr 4.0 Final I need movies hidden in zip files that need to be excluded from the index. I can't filter movies on the crawler because then I would have to exclude all zip files. I was told I can have tika skip the movies. the details are escaping me

Re: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Siegfried Goeschl
Hi Clemens, I think you need to upgrade you framework * AFAIK is httpclient 3 4 uses the same package names - which is slightly unfortunate * assuming that they are using the same package name it is non-deterministic which httpclient library is loaded - might work on your local box but not

Re: Increase maxBooleanClauses limit at run time

2014-09-18 Thread Shawn Heisey
On 9/18/2014 1:28 AM, Vishnu Mishra wrote: I am using solr 4.9. I have set maxBooleanClauses to 2000 in solrconfig.xml. But my application need to change this limit at run time depending upon the query. So can I set this limit at run time for e.g. in SolrParam or in other ways. This is a

Re: Fast question about replication between solr version

2014-09-18 Thread Shawn Heisey
On 9/18/2014 1:15 AM, mizayah wrote: I cant't find anywhere inofrmation about replication between solr version. Is it possible replicate between example solr 4.2 and 4.10 without any problems? What i need is to upgrade version and don't wona re-index all from beginning. Solr 4.10 should be

Explanation Solr Synonym file format

2014-09-18 Thread ErikvdVen
Can someone give me a good explanation on how the Synonym file format works in Solr? Cause I really don't get it anymore. If I have the following synonym rule: dog = hound and I search for dog OR hound I receive the following rules: dog hound If I have the following synonym rule: hound = dog

AW: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Clemens Wyss DEV
I guess you are right ;) -Ursprüngliche Nachricht- Von: Siegfried Goeschl [mailto:sgoes...@gmx.at] Gesendet: Donnerstag, 18. September 2014 16:38 An: solr-user@lucene.apache.org Betreff: Re: slorj - httpclient 4, but we already have httpclient 3 in use Hi Clemens, I think you need to

Re: Large Transaction Logs Out of memory

2014-09-18 Thread Shawn Heisey
On 9/18/2014 5:36 AM, or gerson wrote: what is the cause of the other? the outOfMemory causes the tlog to get bigger (cause the autoCommit does not happen) or the tlog size causes the outOfMemorty error? Program behavior (any Java program, not just Solr) becomes completely undefined when you

AND operator in multi valued fields

2014-09-18 Thread lboutros
Dear all, let's say you have two multivalued fields with two different complex analyzers in a quite complex schema. I would like to match specific combinations of values in these fields. For instance : Field1 : Value1, Value2 Field2 : Value3, Value4 I would like to match this document with a

Re: How to summarize a String Field ?

2014-09-18 Thread Erick Erickson
You cannot do this as far as I know, it must be a numeric field (float/int/tint/tfloat whatever). Best Erick On Thu, Sep 18, 2014 at 12:46 AM, YouPeng Yang yypvsxf19870...@gmail.com wrote: Hi One of my filed called AMOUNT is String,and I want to calculate the sum of the this filed.

Re: Increase maxBooleanClauses limit at run time

2014-09-18 Thread Erick Erickson
Just ran in to this. Since it's global, the last core loaded rules... and you don't necessarily know which core that will be. So change this in _all_ your solrconfig.xml files. There's no external API that I know of to set it higher on a running instance. Best, Erick On Thu, Sep 18, 2014 at

Re: AND operator in multi valued fields

2014-09-18 Thread Alexandre Rafalovitch
Both queries seem valid. The values are there and you asking to match them. They both should match. Can you explain how query 2 is actually different from query 1? Are you saying you want to match 1st value with 1st value (like positional constraints?). Regards, Alex. Personal:

Re: AND operator in multi valued fields

2014-09-18 Thread lboutros
Alexandre Rafalovitch wrote Are you saying you want to match 1st value with 1st value (like positional constraints?). That's exactly what I would like to do. :) - Jouve France. -- View this message in context:

Re: AW: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Guido Medina
Hi Clemens, If you are going thru the effort of migrating from SolrJ 3 to 4 and HTTP client 3 to 4 make sure you do it using HTTP client 4.3.x (Latest is 4.3.5) since there are deprecations and stuff from 3.x to 4.0.x, to 4.1.x, to ..., to 4.3.x It will be painful but it is better do it one

Re: AND operator in multi valued fields

2014-09-18 Thread Alexandre Rafalovitch
Do you know the position when you are doing the search? Or just that they need to be parallel within their tokenized groups? Regards, Alex. P.s. It may help if you explain a business level issue here. There might be a completely different approach to that as well. Personal:

Re: AW: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Siegfried Goeschl
AFAIK even the different minor versions are source/binary compatible so you might need to tinker with the right version to get your server running Cheers, Siegfried Goeschl On 18.09.14 17:45, Guido Medina wrote: Hi Clemens, If you are going thru the effort of migrating from SolrJ 3 to 4 and

Re: Access solr cloud via ssh tunnel? (Workaround/Jsch)

2014-09-18 Thread Michael Joyner
On 09/16/2014 04:03 PM, Doug Balog wrote: Not sure if this will work, but try to use ssh to setup a SOCKS proxy via the -D command option. Then use the socksProxyHost and socksProxyPort via the java command line (ie java -DsocksProxyHost=localhost) or

Re: AW: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Guido Medina
SolrJ client after 4.8 I think requires HTTP client 4.3.x so why not just start there as base version? Guido. On 18/09/14 16:49, Siegfried Goeschl wrote: AFAIK even the different minor versions are source/binary compatible so you might need to tinker with the right version to get your server

Re: Access solr cloud via ssh tunnel? (Workaround/Jsch)

2014-09-18 Thread Shalin Shekhar Mangar
This would make for a nice blog post! On Thu, Sep 18, 2014 at 9:38 PM, Michael Joyner mich...@newsrx.com wrote: On 09/16/2014 04:03 PM, Doug Balog wrote: Not sure if this will work, but try to use ssh to setup a SOCKS proxy via the -D command option. Then use the socksProxyHost and

Re: Solr 4.10 termsIndexInterval and termsIndexDivisor not supported with default PostingsFormat?

2014-09-18 Thread Chris Hostetter
: I think the documentation and example files for Solr 4.x need to be : updated. If someone will let me know I'll be happy to fix the example : and perhaps someone with edit rights could fix the reference guide. I think you're correct - can you open a Jira with suggested improvements for the

running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
Dear Solr users, I am new to Solr dev community and trying to setup eclipse to debug a running solr server. Please suggest if anyone of you have tried doing the same. Once above is done. Also suggest the entry point in code where breakpoint can be placed. Thanks Anurag

Re: How to summarize a String Field ?

2014-09-18 Thread Jack Krupansky
Do a copyField to a numeric field. -- Jack Krupansky -Original Message- From: Erick Erickson Sent: Thursday, September 18, 2014 11:35 AM To: solr-user@lucene.apache.org Subject: Re: How to summarize a String Field ? You cannot do this as far as I know, it must be a numeric field

Re: AND operator in multi valued fields

2014-09-18 Thread lboutros
Thx Alex. We have main documents in the index. (more than 100 complex fields). Each document can have events attached. An event contains 4 fields with 3 different analyzers. We need more than just filtering on them (highlighting on documents and events at the same time for instance). That

Re: AND operator in multi valued fields

2014-09-18 Thread Alexandre Rafalovitch
Well, I can think of four ways, increasingly complicated. 1) You could have both parent record with unzipped events and also child events as individual documents. Then, you do filtering based on children and highlighting based on parent documents. 2) The other way is to have a custom post filter

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: running solr in debug through eclipse

2014-09-18 Thread Erick Erickson
There are two approaches that work: 1 (preferred IMO) is to debug through the Junit test cases. It's far easier than remote debugging usually, with quicker turnaround times. 2 Set up remote debugging, see: http://wiki.apache.org/solr/HowToConfigureEclipse which is linked from the how to

AW: AW: slorj - httpclient 4, but we already have httpclient 3 in use

2014-09-18 Thread Clemens Wyss DEV
I'd like to mention, that substituting the httpcore.jar with the latest (4.3) sufficed... -Ursprüngliche Nachricht- Von: Guido Medina [mailto:guido.med...@temetra.com] Gesendet: Donnerstag, 18. September 2014 18:20 An: solr-user@lucene.apache.org Betreff: Re: AW: slorj - httpclient 4,

Re: running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
Hi Erick, Thanks a lot for your response. I am trying to fix the issue: https://issues.apache.org/jira/browse/SOLR-6307. I guess this require change in the 'update' component. Am not able to locate the code for 'update' component nor the testcases. To understand the code base I think I may need