LSolr is a query builder library for Ruby

2017-12-28 Thread PocaPoca Unty
I created LSolr gem as a query builder. Please use it if you'd like. https://github.com/supercaracal/lsolr

Re: Is it possible to use limit and sort with BlockJoin Facet?

2017-12-28 Thread Kamuela Lau
Hi All, I am currently trying to figure out a way to apply a parent/child relationship between two cores to searches. I thought that BlockJoin Facet could be a good way to do this, but I would like to know, is it impossible to use limit and sort with BlockJoin Facet? Thanks, Kamu On Tue, Dec 26

Re:SOLR 7.2 and LTR

2017-12-28 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
Hello Dariusz, Can you look into the solr logs for a stack trace or ERROR logs? From: solr-user@lucene.apache.org At: 12/27/17 19:01:29To: solr-user@lucene.apache.org Subject: SOLR 7.2 and LTR Hi, I am using SOLR 7.0 and use the ltr parser. The configuration I use works nicely under SOLR

Re: SOLR 7.2 and LTR

2017-12-28 Thread Dariusz Wojtas
Hello Diego, solr.log contains always the same single stacktrace in SOLR 7.2. I've been trying to pass rq via solrconfig.xml and via HTTP form. The /searchIncidents handler contains edismax query. Works if I completely disable rq. When I add the rq param, even something like: {!ltr reRankDocs=2

Re: SOLR 7.2 and LTR

2017-12-28 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
Do you have the ltr qparser plugin registered into the solrconfig? Can you check what happens if instead of ltr you use the rerank query plugin? does it work or you get the same error? https://lucene.apache.org/solr/guide/6_6/query-re-ranking.html From: solr-user@lucene.apache.org At: 12/28/

Re: SOLR 7.2 and LTR

2017-12-28 Thread Christine Poerschke (BLOOMBERG/ LONDON)
From a (very) quick look it seems like the https://issues.apache.org/jira/browse/SOLR-11501 upgrade notes might be relevant, potentially. From: solr-user@lucene.apache.org At: 12/28/17 15:18:22To: solr-user@lucene.apache.org Subject: Re: SOLR 7.2 and LTR Do you have the ltr qparser plugin reg

Re: fq: OR operator (sometimes) not working

2017-12-28 Thread Erick Erickson
An, SOW may be a red-herring then. The fact that file_type is defined as Keyword is the key. KeywordTokenizerFactory is expressly about _not_ breaking up the input in any way. You're right, you could reformulate your query. I think, though, that you'd be better off changing the tokenizer to somet

delete solr data and index older than 3 days

2017-12-28 Thread ppeddi
hi, Can anyone please post the syntax or some examples for deleting solr data and index older than 3 days based on datetime field in solr collection. I have field data_Start_time which stores the date value in and is of type 'date' in my solr collection. I want to delete the index/data older tha

Re: delete solr data and index older than 3 days

2017-12-28 Thread Erick Erickson
First off, please don't optimize unless you're willing to do it every time, there's a long discussion of why here: https://issues.apache.org/jira/browse/LUCENE-7976. It's almost always a bad idea to optimize unless you're willing to optimize every time you update your index. But second, this is a

Re: delete solr data and index older than 3 days

2017-12-28 Thread Alessandro Hoss
Hello, You can use the same behavior as the delete all , but instead of querying for "*:*", you should query for something like "yourdatefield:[NOW-3DAYS TO NOW]" If you need to round to the start of the third day b

Re: delete solr data and index older than 3 days

2017-12-28 Thread Alessandro Hoss
My bad... my answer is wrong. It's deleting only the data from the last three days, which is the opposite that you want.. Please check Erick's answer. Sorry. On Thu, Dec 28, 2017 at 6:39 PM Alessandro Hoss wrote: > Hello, > > You can use the same behavior as the delete all >

Re: Enable default wildcard search

2017-12-28 Thread Siarhei Chystsiakou
Hi Does anyone have any idea how to fix this? 2017-12-27 13:34 GMT+01:00 Siarhei Chystsiakou : > Hi everybody! > I try integration Solr 6.6.1 with my email server (dovecot 2.32). I have > the following settings: > > schema.xml - https://pastebin.com/1XXWTs8V > solrconfig.xml - https://pastebin

Re: Enable default wildcard search

2017-12-28 Thread Mikhail Khludnev
Obviously, Chris has nothing in common with Christmas, hence this classic search behavior is correct. What people are asking here is autocomplete, and it's a separate UX and algorithms. You can start to explore different aspects of this field from https://lucidworks.com/2015/03/04/solr-suggester/ Y

Re: Is it possible to use limit and sort with BlockJoin Facet?

2017-12-28 Thread Mikhail Khludnev
Hello, Block join works in the single core only. Please check the docs. BJQFacet doesn't support limit and sort. On Thu, Dec 28, 2017 at 12:39 PM, Kamuela Lau wrote: > Hi All, > > I am currently trying to figure out a way to apply a parent/child > relationship between two cores to searches. > I

Re: SOLR 7.2 and LTR

2017-12-28 Thread Dariusz Wojtas
Yes, this could be SOLR-11501. But from the description in the ticket I see no option to run LTR, unless I am missing something. I have the ltr queryParser registered. I believe it is declared correctly, works with 7.0.0. I have just double checked with different SOLR versions, copying exactly the

Re: Is it possible to use limit and sort with BlockJoin Facet?

2017-12-28 Thread Kamuela Lau
Hello, Thank you very much for the confirmation. As BJQFacet doesn't support limit, I have the impression that if the number of documents is large, there would be a noticeable decrease in performance. Is this correct? If so, I was considering instead using JSON Facet API to create parent/child r

Re: Is it possible to use limit and sort with BlockJoin Facet?

2017-12-28 Thread Mikhail Khludnev
On Fri, Dec 29, 2017 at 4:37 AM, Kamuela Lau wrote: > Hello, > > Thank you very much for the confirmation. > > As BJQFacet doesn't support limit, I have the impression that if the number > of documents is large, > there would be a noticeable decrease in performance. Is this correct? > No. Limiti