Re: MergeReduceIndexerTool takes a lot of time for a limited number of documents

2014-09-21 Thread rulinma
-D 'mapred.child.java.opts=-Xmx500m' set this as your needs. I think it will work well. -- View this message in context: http://lucene.472066.n3.nabble.com/MergeReduceIndexerTool-takes-a-lot-of-time-for-a-limited-number-of-documents-tp4138163p4160362.html Sent from the Solr - User mailing lis

Re: Ping handler during initial wamup

2014-09-21 Thread William Bell
I put in a fix a long time ago, so it wouldn't be too hard to redo. 1. Send 500 error until core > 0 numFound. 2. Give it a list of cores. localhost:8983/solr/ping?check=core1,core2,core3 Then the Amazon load balancer can just check this url with HTTP check On Thu, Sep 18, 2014 at 3:57 AM, Ere

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

2014-09-21 Thread Clemens Wyss DEV
> and hopefully there isn't a stick I'll let you know ... so hopefully no follower to this post ;) -Ursprüngliche Nachricht- Von: Guido Medina [mailto:guido.med...@temetra.com] Gesendet: Freitag, 19. September 2014 10:29 An: solr-user@lucene.apache.org Betreff: Re: AW: AW: slorj -> httpcl

max across documents?

2014-09-21 Thread William Bell
Is there an easy way to get max() across documents? i.e. 1. Age = multivalued 56 67 89 2. Next document 5 43 23 How do I get this ? http://localhost:8983/solr/people/select?q=*:*&fl=sum(max_across_document(age), 6.0, max(age)) I need the max value cross all docs and then add 6 and the max(ins

Re: Help on custom sort

2014-09-21 Thread Apoorva Gaurav
Try using a custom value source parser and pass the "formula" of computing the price to solr; something like this http://java.dzone.com/articles/connecting-redis-solr-boosting On Mon, Sep 22, 2014 at 1:38 AM, Scott Smith wrote: > There are likely several hundred groups. Also, new groups will be

Disable caching in sort

2014-09-21 Thread Apoorva Gaurav
Hello All, We are trying to provide a personalized sort order for each user. We've a per-computed list of user to products and if it matches the solr result set those products need to be shown upfront. One way can be handling this in application but pagination becomes tricky. Another way we are ex

AW: with wildcard-source?

2014-09-21 Thread Clemens Wyss DEV
I haven't tried anything so far. It was a plain conceptual question ;) All I have at hand is "Solr in Action" which doesn't (didn't) mention the copyField-wildcards... Thx! -Ursprüngliche Nachricht- Von: Erick Erickson [mailto:erickerick...@gmail.com] Gesendet: Sonntag, 21. September 2

Re: UIMA Dictionary Annotator

2014-09-21 Thread Darx Oman
It was some configuration errors this is the new configuration AggregateAE.xml false name org.a

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
Hey Eric, It works like charm :). Thanks a lot for pin pointing the issue. My bad I was using the suspend=y option blindly. Thanks again, Anurag On Sun, Sep 21, 2014 at 10:03 PM, Erick Erickson wrote: > It's doing exactly what you tell it to: > > java -Xdebug -Xrunjdwp:transport=dt_socket,serv

Re: Static Fields Performance vs Dynamic Fields Performance

2014-09-21 Thread Alexandre Rafalovitch
We had this discussion a week ago. http://lucene.472066.n3.nabble.com/Solr-Dynamic-Field-Performance-td4158737.html Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https:

RE: Help on custom sort

2014-09-21 Thread Scott Smith
There are likely several hundred groups. Also, new groups will be added and some groups will be deleted. So, I don't think putting a field in the docs works. Having to add a new group price into 100 million+ documents doesn't seem reasonable. Right now I'm looking at http://sujitpal.blogspo

Static Fields Performance vs Dynamic Fields Performance

2014-09-21 Thread mark12345
Are there any performance differences in using Dynamic Fields over Static Fields? I read an earlier post on Aug 12, 2008 that suggested there is nothing significant (See link below). Is this still the case? http://lucene.472066.n3.nabble.com/Static-Fields-vs-Dynamic-Fields-td487639.html --

Re: with wildcard-source?

2014-09-21 Thread Erick Erickson
What have you tried? Because it works just fine for me. It's _really_ helpful to tell us what you've tried and what you think isn't operating correctly, otherwise there's not much to go on except guesswork. Best, Erick On Sun, Sep 21, 2014 at 2:47 AM, Clemens Wyss DEV wrote: > is there a way to

Re: running solr in debug through eclipse

2014-09-21 Thread Erick Erickson
It's doing exactly what you tell it to: java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666 -jar start.jar Specifically suspend=y' means it will sit there, very patiently, until you connect to it with a debugger and tell it to go. This is _very_ useful to debug initializati

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

2014-09-21 Thread Erick Erickson
Wait, wait, wait. I cannot _believe_ I wrote this: bq: As far as changing the schema, there's no good way to do that that Utter nonsense. There's the whole "managed schema" that was added in the not too distant past whose _purpose_ is to change the schema via a REST API both in stand-alone an

Re: with wildcard-source?

2014-09-21 Thread Alexandre Rafalovitch
copyField - Solr is case sensitive, yet does not complain when sees wrong/misspelt directives (this is being fixed slowly) https://cwiki.apache.org/confluence/display/solr/Copying+Fields Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http:/

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
Hi All, Thanks a lot for your suggestions. Shalin, your direction quickly took me to the issue, it was very insightful and helpful. Finally am able to understand the issue I was working on and run particular unit test class AtomicUpdatesTest around it. On running the Solr in debug mode, I am stil

with wildcard-source?

2014-09-21 Thread Clemens Wyss DEV
is there a way to use with a wildcard-source?  For example to copy all fields of a certain dynamic field type:  ...

UIMA Dictionary Annotator

2014-09-21 Thread Darx Oman
Hi there I trying to use UIMA Dictionary Annotator with Solr 4.10.0 I did the following: 1) added a field to the schema 2)Modified solrConfig as follow uima DictionaryAnnotator.xml