Re: Solr long q values

2019-05-07 Thread solrnoobie
Thank you for the replies! Because of everyone's insight, I was able to deduce that the problem was on our configuration. Our heap size was 10 gigs so I don't think this is the problem since we only have 900k data. So when we took a closer look at our schema, 2 of the relevant fields has

Re: basic question about updating a docValue

2019-05-07 Thread Jerry Lin
Hello, Thank you for your responses. In the end, my program now works, but I had trouble even when I had 0 documents because I did not restart Solr until I read Shawn's comment. Thanks! Jerry On Tue, May 7, 2019 at 6:41 AM Shawn Heisey wrote: > On 5/7/2019 7:35 AM, Shawn Heisey wrote: > >

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-07 Thread Jason Gerlowski
The Admin UI lockdown is a known-issue in RBAP that's since been fixed. (https://issues.apache.org/jira/browse/SOLR-13344), but only in very recent versions of Solr. I haven't tried this, but you should be able to work around it by putting a rule like: {path: /, role: *} right before your

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-07 Thread Jérémy
Hi Jason, Thanks a lot for the detailed explanation. It's still very unclear in my head how things work, but now I know about the weird fallback mechanism of RBAP. Despite your example I still didn't manage to get the behavior I wanted. Here's the closest I've been so far. Any logged in user can

Re: Error when merging segments ("terms out of order")

2019-05-07 Thread Alméras Yannick
Hello ! (sorry for my last double post... I thought there was a problem with my other mail address). Le mardi 7 mai 2019, 15:25:13 CEST Shawn Heisey a écrit : > On 5/7/2019 5:28 AM, Alméras Yannick wrote: > > I don't understand a problem on my ubuntu 18.04 solr server (version > > 7.6.0)... > >

Re: basic question about updating a docValue

2019-05-07 Thread Shawn Heisey
On 5/7/2019 7:35 AM, Shawn Heisey wrote: The field must be 'indexed="false"' as well for in-place updates to work.  If you have indexed set to true, I don't think that's going to work.  Here's the relevant documentation section: My answer was not meant to contradict the one you got earlier

Re: basic question about updating a docValue

2019-05-07 Thread Shawn Heisey
On 5/6/2019 11:03 PM, Jerry Lin wrote: I'm new to Solr and am using Solr 8, and the Java API client. I have a score that I would like to rank my documents by, and I do not need to retrieve the values. My understanding is that I should set indexed="true", stored="false", and DocValues="true".

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Shawn Heisey
On 5/7/2019 5:45 AM, Jie Luo wrote: For the fields that are set as stored true, query works fine, but for fields that are set as stored false, the query does not work after the documents are updated. SolrInputDocument solrInputDocument = new SolrInputDocument();

Re: Error when merging segments ("terms out of order")

2019-05-07 Thread Shawn Heisey
On 5/7/2019 5:28 AM, Alméras Yannick wrote: I don't understand a problem on my ubuntu 18.04 solr server (version 7.6.0)... When merge of segments is called, there is an error and then, the index is not writable. The logs of a failed segments merging are at the end of this message (here, I

Error when merging segments ("terms out of order")

2019-05-07 Thread Alméras Yannick
Hello ! I don't understand a problem on my ubuntu 18.04 solr server (version 7.6.0)... When merge of segments is called, there is an error and then, the index is not writable. The logs of a failed segments merging are at the end of this message (here, I forced the merge but it's the same

Error when merging segments ("terms out of order")

2019-05-07 Thread Alméras Yannick
Hello ! I don't understand a problem on my ubuntu 18.04 solr server (version 7.6.0)... When merge of segments is called, there is an error and then, the index is not writable. The logs of a failed segments merging are at the end of this message (here, I forced the merge but it's the same

Re: basic question about updating a docValue

2019-05-07 Thread Alexandre Rafalovitch
Sounds like you had some documents in the index already from before you made ths change. You may need to delete, commit, reindex. Rather than trying to overwrite. Regards, Alex On Tue, May 7, 2019, 1:03 AM Jerry Lin, wrote: > Hi, > > I'm new to Solr and am using Solr 8, and the Java API

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Jie Luo
Hi all, For the fields that are set as stored true, query works fine, but for fields that are set as stored false, the query does not work after the documents are updated. SolrInputDocument solrInputDocument = new SolrInputDocument();

Re: Solr 7.7.1 issue: TemplateTransformer doesn't take the value of static template attribute value

2019-05-07 Thread Mikhail Khludnev
I suppose you can start from exploring https://github.com/apache/lucene-solr/blob/master/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolverEndToEnd.java On Tue, May 7, 2019 at 10:13 AM Irfan Nagoo wrote: > Any inputs on this issue please? > > > >

Re: UAX29 URL Email Tokenizer not working as expected

2019-05-07 Thread Steve Rowe
Hi Tom, The documentation is wrong. The sentence you quoted was inherited from Classic Tokenizer's description. UAX 29 URL Email Tokenizer is a specialization of Standard Tokenizer, the 7.2 documentation for which says the following: Note that words are split at hyphens. I've made an

RE: Solr 7.7.1 issue: TemplateTransformer doesn't take the value of static template attribute value

2019-05-07 Thread Irfan Nagoo
Any inputs on this issue please? Thanks, Irfan From: Irfan Nagoo Sent: Friday, May 3, 2019 11:38:22 PM To: solr-user@lucene.apache.org Subject: Solr 7.7.1 issue: TemplateTransformer doesn't take the value of static template attribute value CAUTION: This