Re: Facet behavior

2016-10-25 Thread Bastien Latard | MDPI AG
Hi Guys, Could any of you tell me if I'm right? Thanks in advance. kr, Bast Forwarded Message Subject:Re: Facet behavior Date: Thu, 20 Oct 2016 14:45:23 +0200 From: Bastien Latard | MDPI AG <lat...@mdpi.com> To: solr-user@lucene.apache.org Hi

Re: Facet behavior

2016-10-20 Thread Bastien Latard | MDPI AG
Hi Yonik, Thanks for your answer! I'm not quite I understood everything...please, see my comments below. On Wed, Oct 19, 2016 at 6:23 AM, Bastien Latard | MDPI AG <lat...@mdpi.com.invalid> wrote: I just had a question about facets. *==> Is the facet run on all documents (to pre-proc

Facet behavior

2016-10-19 Thread Bastien Latard | MDPI AG
Hi everybody, I just had a question about facets. *==> Is the facet run on all documents (to pre-process/cache the data) or only on returned documents?* Because I have exactly the same index locally and on the prod server.. (except that my dev. contains much less docs) When I make a query,

Re: How can I set the defaultOperator to be AND?

2016-09-02 Thread Bastien Latard | MDPI AG
ehavior: AND Issue fixed :) Kind regards, Bast On 05/08/2016 14:57, Bastien Latard | MDPI AG wrote: Hi Steve, I read the thread you sent me (SOLR-8812) and it seems that the 6.1 includes this fix, as you said. I will upgrade. Thank you! Kind regards, Bast On 05/08/2016 14:37, Steve Row

Re: How can I set the defaultOperator to be AND?

2016-08-05 Thread Bastien Latard | MDPI AG
Which you expect depends on your mental model. And providing the default op in your solrconfig.xml request handlers allows you to implement whatever model your application chooses... Best, Erick On Mon, Apr 25, 2016 at 11:32 PM, Bastien Latard - MDPI AG <lat...@mdpi.com.invalid> wr

Re: URL parameters combined with text param

2016-05-13 Thread Bastien Latard - MDPI AG
at the parsed results. This shows you exactly what Solr sees rather than what you think it should. Best, Erick On Thu, May 12, 2016 at 6:24 AM, Ahmet Arslan <iori...@yahoo.com.invalid> wrote: Hi, Well, what happens q=hospital={!lucene q.op=AND v=$a}=hospital Leapfrog OR q=+_query_:"{!l

Re: URL parameters combined with text param

2016-05-12 Thread Bastien Latard - MDPI AG
Hi Ahmet, Thanks for your answer, but this doesn't work on my local index. q1 returns 2 results. http://localhost:8983/solr/my_core/select?q=hospital AND _query_:"{!q.op=AND%20v=$a}"=abstract,title=hospital Leapfrog ==> returns 254 results (the same as

URL parameters combined with text param

2016-05-11 Thread Bastien Latard - MDPI AG
Hi Everybody, Is there a way to pass only some of the data by reference and some others in the q param? e.g.: q1. http://localhost:8983/solr/my_core/select?{!q.op=OR v=$a}=abstract,title=hospital Leapfrog=true q1a. http://localhost:8983/solr/my_core/select?q=hospital AND

Re: fq behavior...

2016-05-08 Thread Bastien Latard - MDPI AG
therwise, how could the next query that uses an identical fq clause make use of the cached value? If cache=false, it's a different story as per Yonik's blog. On Fri, May 6, 2016 at 7:25 AM, Shawn Heisey <apa...@elyograg.org> wrote: On 5/6/2016 12:07 AM, Bastien Latard - MDPI AG wrote: T

Re: fq behavior...

2016-05-06 Thread Bastien Latard - MDPI AG
Thu, May 5, 2016 at 10:54 PM, Bastien Latard - MDPI AG < lat...@mdpi.com.invalid> wrote: Hi guys, Just a quick question, that I did not find an easy answer. 1. Is the fq "executed" before or after the usual query (q) e.g.: select?q=title:"something really speci

fq behavior...

2016-05-05 Thread Bastien Latard - MDPI AG
Hi guys, Just a quick question, that I did not find an easy answer. 1. Is the fq "executed" before or after the usual query (q) e.g.: select?q=title:"something really specific"=bPublic:true=10 Would it first: * get all the "specific" results, and then apply the filter *

Re: OOM script executed

2016-05-05 Thread Bastien Latard - MDPI AG
Thank you Shawn! So if I run the two following requests, it will only store once 7.5Mo, right? - select?q=*:*=bPublic:true=10 - select?q=field:my_search=bPublic:true=10 kr, Bast On 04/05/2016 16:22, Shawn Heisey wrote: On 5/3/2016 11:58 PM, Bastien Latard - MDPI AG wrote: Thank you

Re: OOM script executed

2016-05-03 Thread Bastien Latard - MDPI AG
d do at least. If you get to narrow it down to a specific feature, then you can come back to the users list and ask with some more specifics, that way someone could point you to the solution, or maybe file a JIRA if it turns out to be a bug. Tomás On Mon, May 2, 2016 at 11:34 PM, Bastien Latard -

Re: OOM script executed

2016-05-03 Thread Bastien Latard - MDPI AG
more work to the GC and less memory available for the OS cache. Tomás On Sun, May 1, 2016 at 11:20 PM, Bastien Latard - MDPI AG < lat...@mdpi.com.invalid> wrote: Hi Guys, I got several times the OOM script executed since I upgraded to Solr6.0: $ cat solr_oom_killer-8983-2016-04-29_15_16_51

What does the "Max Doc" means in Admin interface?

2016-05-02 Thread Bastien Latard - MDPI AG
Hi All, Everything is in the title... Can this value be modified? Or is it because of my environment? Also, what does "Heap Memory Usage: -1" mean? Kind regards, Bastien Latard Web engineer -- MDPI AG Postfach, CH-4005 Basel, Switzerland Office: Klybeckstrasse 64, CH-4057 Tel. +41 61 683 77

OOM script executed

2016-05-02 Thread Bastien Latard - MDPI AG
Hi Guys, I got several times the OOM script executed since I upgraded to Solr6.0: $ cat solr_oom_killer-8983-2016-04-29_15_16_51.log Running OOM killer script for process 26044 for Solr on port 8983 Does it mean that I need to increase my JAVA Heap? Or should I do anything else? Here are some

Re: How can I set the defaultOperator to be AND?

2016-04-26 Thread Bastien Latard - MDPI AG
as easily argue that "more words should return more docs". Which you expect depends on your mental model. And providing the default op in your solrconfig.xml request handlers allows you to implement whatever model your application chooses... Best, Erick On Mon, Apr 25, 2016

'batching when indexing is good' -> some questions

2016-04-26 Thread Bastien Latard - MDPI AG
Hi Eric (Erickson) & others, I read your post 'batching when indexing is good '. But I also read this one , which recommend to use batchSize="-1". So I have now some

Re: How can I set the defaultOperator to be AND?

2016-04-26 Thread Bastien Latard - MDPI AG
use of its date... What do you think? Kind regards, Bastien On 25/04/2016 14:53, Shawn Heisey wrote: On 4/25/2016 6:39 AM, Bastien Latard - MDPI AG wrote: Remember: If I add the following line to the schema.xml, even if I do a search 'title:"test" OR author:"me"', it w

Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Bastien Latard - MDPI AG
Any news? Remember: If I add the following line to the schema.xml, even if I do a search 'title:"test" OR author:"me"', it will returns documents matching 'title:"test" AND author:"me"': kr, Bast On 22/04/2016 13:22, Bastien Latard - MD

Re: How can I set the defaultOperator to be AND?

2016-04-22 Thread Bastien Latard - MDPI AG
, Jan Høydahl wrote: Hi Which query parser are you using? If using edismax yo may be hitting a recent bug concerning default operator and explicit boolean operators. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com 22. apr. 2016 kl. 11.26 skrev Bastien Latard - MDPI AG

How can I set the defaultOperator to be AND?

2016-04-22 Thread Bastien Latard - MDPI AG
Hi guys, How can I set the defaultOperator to be AND? If I add the following line to the schema.xml, even if I do a search 'title:"test" OR author:"me"', it will returns documents matching 'title:"test" AND author:"me"': solr version: 6.0 I know that I can overwrite the query with q.op,

Re: Can a field be an array of fields?

2016-04-19 Thread Bastien Latard - MDPI AG
last names in some other system that has the full list. * You index the authors in another collection and use JOINs * You store the author_array as formatted, escaped JSON, stored, but not indexed (or analyzed). When you get the data back, you navigate the JSON to the author_array, get the value, an

Denormalization and data retrieval

2016-04-19 Thread Bastien Latard - MDPI AG
Hi, What's the correct way to create index(es) using denormalization? 1. something like that? OR even: 2. OR a different index for each SQL table? -> if yes, how can I then retrieve all the needed data (i.e.: intersection)?...JOIN/Streaming exp.? I have more than

Re: Solr best practices for many to many relations...

2016-04-18 Thread Bastien Latard - MDPI AG
solr using the jdbc streaming function. - Dennis Gove On Fri, Apr 15, 2016 at 3:21 AM, Bastien Latard - MDPI AG < lat...@mdpi.com.invalid> wrote: '*would I then be able to query a specific field of articles or other "table" (with the same OR BETTER performances)?*' -> And es

Can a field be an array of fields?

2016-04-15 Thread Bastien Latard - MDPI AG
The same email, but with formatting... (email below) Forwarded Message Subject:Can a field be an array of fields? Date: Fri, 15 Apr 2016 13:51:48 +0200 From: Bastien Latard - MDPI AG <lat...@mdpi.com> To: solr-user@lucene.apache.org Hi everybod

Can a field be an array of fields?

2016-04-15 Thread Bastien Latard - MDPI AG
Hi everybody! /I described a bit what I found in another thread, but I prefer to create a new thread for this specific question.../ *It's **possible to create an array of string by doing (incomplete example): - in the data-conf.xml:* *- in schema.xml:

Re: Solr best practices for many to many relations...

2016-04-15 Thread Bastien Latard - MDPI AG
'/would I then be able to query a specific field of articles or other "table" (with the same OR BETTER performances)?/' -> And especially, would I be able to get only 1 article in the result... On 15/04/2016 09:06, Bastien Latard - MDPI AG wrote: Thanks Jack. I know that Sol

Re: Solr best practices for many to many relations...

2016-04-15 Thread Bastien Latard - MDPI AG
nquiry - are queries too slow, too cumbersome, not sufficiently powerful, or... what exactly is the problem you need to solve. -- Jack Krupansky On Thu, Apr 14, 2016 at 10:12 AM, Bastien Latard - MDPI AG <lat...@mdpi.com.invalid <mailto:lat...@mdpi.com.invalid>> wrote: Hi

Solr best practices for many to many relations...

2016-04-14 Thread Bastien Latard - MDPI AG
Hi Guys, /I am upgrading from solr 4.2 to 6.0.// //I successfully (after some time) migrated the config files and other parameters.../ Now I'm just wondering if my indexes are following the best practices...(and they are probably not :-) ) What would be the best if we have this kind of sql

Re: Cache problem

2016-04-13 Thread Bastien Latard - MDPI AG
Thank you all again for your good and detailed answer. I will combine all of them to try to build a better environment. *Just a last question...* /I don't remember exactly when I needed to increase the java heap.../ /but is it possible that this was for the DataImport.../ *Would the DIH work if

Generic questions - increase performance

2016-04-13 Thread Bastien Latard - MDPI AG
Dear Folks, :-) From this source , I read: "Each incoming request requires a thread [...] If still more simultaneous requests (more than maxThreads) are received, they are stacked up inside the server socket" I have a couple of

Re: Cache problem

2016-04-13 Thread Bastien Latard - MDPI AG
to know the real size used/needed by this caching?* Thanks for your help. Kind regards, Bastien On 13/04/2016 02:47, Shawn Heisey wrote: On 4/12/2016 3:35 AM, Bastien Latard - MDPI AG wrote: Thank you both, Bill and Reth! Here is my current options from my command to launch java: */usr/bin/java -Xms2048

Re: Cache problem

2016-04-12 Thread Bastien Latard - MDPI AG
billnb...@gmail.com> wrote: You do need to optimize to get rid of the deleted docs probably... That is a lot of deleted docs Bill Bell Sent from mobile On Apr 11, 2016, at 7:39 AM, Bastien Latard - MDPI AG <lat...@mdpi.com.INVALID> wrote: Dear Solr experts :), I read this very i