Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Michael Sokolov
Stefan I had problems like this -- and the short answer is -- it's a PITA. Solr is not really designed to be extended in this way. In fact I believe they are moving towards an architecture where this is even less possible - folks will be encouraged to run solr using a bundled exe, perhaps wit

Dynamic boosting with functions

2014-12-03 Thread eakarsu
I need to boost some of document with with a function. I can give boosting for field "myField" with bq = myField^10 But I like to give dynamic boosting based on whether or not other field "someotherfield" exists in a document or not. I like to give boosting if (exists(termfreq(someotherfield,"

Re: Get list of collection

2014-12-03 Thread Shawn Heisey
On 12/3/2014 2:51 AM, Ankit Jain wrote: > Hi Erick, > > We are using the 4.7.2 version of solr and no getCollectionList() method is > present in CloudSolrServer class. That method is private, so you can't use it in a user program. I think this would probably do what you want, if server is an inst

Refreshed Solr Clients page

2014-12-03 Thread Alexandre Rafalovitch
Hello, Just a heads up that the Solr clients page on the Wiki has been substantially refreshed and brought up to date: https://wiki.apache.org/solr/IntegratingSolr If you think you know an obscure Solr client (Dart?), now would be good time to add it to the Wiki or at least let me know and I'll d

Group by on multiple fields and Stats Solr

2014-12-03 Thread Ankit Jain
Hi All, I need to perform the following queries into Solr: SELECT a, b, Sum(a) FROM tbl GROUP BY a, b. -- Thanks, Ankit Jain

Re: Alternative searching

2014-12-03 Thread tomas.kalas
I think something like that: First Position Second Position Third Position Fourth Position Fift Position - -- --- Hello My

Re: Alternative searching

2014-12-03 Thread Ahmet Arslan
Hi Tomas, What do you mean by "get data into fields"? Do you mean indexing? Following solr search URL will return all possible 9 documents. q=someField:"(hello hi cheerio) my name is (Tomas John Paul)"&defType=complexphrase for example, doc1 = hello my name is Tomas doc2 = hi my name is Paul

Re: Alternative searching

2014-12-03 Thread tomas.kalas
Its ok, when i use the example by synonym filter, so it wokrs, but i donĀ“t know how i have transfer this text to the schema. -- View this message in context: http://lucene.472066.n3.nabble.com/Alternative-searching-tp4172339p4172356.html Sent from the Solr - User mailing list archive at Nabble.

Re: Alternative searching

2014-12-03 Thread tomas.kalas
Ok and how do you think how i get data into to fields? And how it recognize so how it is one term? -- View this message in context: http://lucene.472066.n3.nabble.com/Alternative-searching-tp4172339p4172349.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Alternative searching

2014-12-03 Thread Ahmet Arslan
Hi Tomas, I dont fully follow but, with ComplexPhraseQueryParser, you can use parenthesis inside phrases. q="(hello hi cheerio) my name is (Tomas John Paul)"&defType=complexphrase https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser Ahmet On We

RE: SegmentInfos exposed to /admin/luke

2014-12-03 Thread Alexey Kozhemiakin
Hi Alexandre, our rebuilds are not like 'full rebuilds' - it's a constant massive flow of price updates in ecommerce marketplace. Unfortunately "substitution" option is not working for us :( -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Wednesday, Dec

Re: Alternative searching

2014-12-03 Thread Alexandre Rafalovitch
Have you looked at the synonyms token filter that is shipped in the default example? Might be the first step. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.li

Re: SegmentInfos exposed to /admin/luke

2014-12-03 Thread Alexandre Rafalovitch
You can't use grouping aliases and do full rebuilds on a separate core + substitutions? Might be a better strategy for nearly complete replacement. Regards, Alex. P.s. But I like your proposal anyway. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://w

Alternative searching

2014-12-03 Thread tomas.kalas
Hello, is possible searching by Solr search alternative words from some field? For example if i want search some phrase from range: At first position i want to have probably in one field hello,hi,cheerio. At second my At third name At fourth is At fifth Tomas, John, Paul. And if i send query "My

Too much Lucene code to refactor but I like SolrCloud

2014-12-03 Thread Bill Drake
I have an existing application that includes Lucene code. I want to add high availability. From what I have read SolrCloud looks like an effective approach. My problem is that there is a lot of Lucene code; out of 100+ java files in the application more than 20 of them are focused on Lucene code.

Re: Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Stefan Moises
Hi again, just for reference, here is my filter class (taken from the example posted earlier) - as soon as I iterate over the request parameters, Solr gets angry... :( I have also tried HttpServletRequestWrapper, but that didn't help either... nor did this: http://ocpsoft.org/opensource/how-t

SegmentInfos exposed to /admin/luke

2014-12-03 Thread Alexey Kozhemiakin
Dear All, We have a high percentage of deleted docs which do not go away because there are several huge ancient segments that do not merge with anything else naturally. Our use case in constant reindexing of same data - ~100 gb, 12 000 000 real records, 20 000 000 total records in index, which

RE: recovery process - node with stale data elected leader

2014-12-03 Thread francois.grollier
FYI, I did the test with 4.7.1 and the issue is fixed. With this version, the node who was leader when the cluster went down is elected leader again even if it's not restarted first. Francois -Original Message- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Saturday

RE: Reminder: FOSDEM 2015 - Open Source Search Dev Room

2014-12-03 Thread Uwe Schindler
Hello everyone, We have extended the deadline for submissions to the FOSDEM 2015 Open Source Search Dev Room to Monday, 9 December at 23:59 CET. We are looking forward to your talk proposal! Cheers, Uwe - Uwe Schindler uschind...@apache.org Apache Lucene PMC Member / Committer Bremen, Ger

Problem with additional Servlet Filter (SolrRequestParsers Exception)

2014-12-03 Thread Stefan Moises
Hi Folks, I have a problem with an additional servlet filter defined in my web.xml (Tomcat 7.x). In Solr 4.2.1. we've successfully used a filter for processing POST request data (basically, the filter reads the POST data, collects some parameters from it and writes it back to the request, base

Re: Get list of collection

2014-12-03 Thread Ankit Jain
Hi Erick, We are using the 4.7.2 version of solr and no getCollectionList() method is present in CloudSolrServer class. Regards, Ankit Jain On Tue, Dec 2, 2014 at 8:18 PM, Erick Erickson wrote: > I think you want CloudSolrServer.getCollectionList() > > Best, > Erick > > On Tue, Dec 2, 2014 at