basic question about updating a docValue

2019-05-06 Thread Jerry Lin
Hi, 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". When I manually set up the schema in

Re: Question RE: Contents of Field Value Cache

2019-05-06 Thread benrollinger
Mikhail Khludnev-2 wrote > Hello, > Every FVC entry corresponds to to a field, but capped by max size. So, > it's > really odd that its' numbers peaked as some point of time. Note that some > caches support showItems parameter, check the doc. > > On Sat, May 4, 2019 at 11:04 AM benrollinger >

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-06 Thread Jason Gerlowski
Hey Jeremy, One important thing to remember about the RuleBasedAuthorizationPlugin is that if it doesn't find any rules matching a particular API call, it will allow the request. I think that's what you're running into here. Let's trace through how RBAP will process your rules: 1. Solr

RE: Exception while integrating openNLP with Solr

2019-05-06 Thread pressione03
How'd you figure it out? I have the same problem and I can't find a solution. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Reverse-engineering existing installation

2019-05-06 Thread Alexandre Rafalovitch
I would focus on fields not being used. Then, on types not used. Then, you will see what was actually custom to your setup. In solrconfig.xml, I would focus on request handlers and maybe defaults used. Regards, Alex On Mon, May 6, 2019, 2:25 PM Doug Reeder, wrote: > Thanks, xmlstarlet

Re: Reverse-engineering existing installation

2019-05-06 Thread Erick Erickson
Unfortunately…everything. You may have to compare tag-by-tag, especially in solrconfig.xml. In the schema, all your fieldTypes and the associated fields are critical…. > On May 6, 2019, at 11:25 AM, Doug Reeder wrote: > > Thanks, xmlstarlet makes it straightforward to get the canonical XML.

Re: Reverse-engineering existing installation

2019-05-06 Thread Doug Reeder
Thanks, xmlstarlet makes it straightforward to get the canonical XML. It looks like our schema.xml files are rather different from files like solr/example/solr/collection1/conf/schema.xml Any suggestions of sections I should focus on? On Sat, May 4, 2019 at 8:11 AM Alexandre Rafalovitch wrote:

Re: Zookeeper solr config files

2019-05-06 Thread Shawn Heisey
On 5/6/2019 9:21 AM, Kojo wrote: This is a zookeeper question, but I wonder you can help me. Is it possible to directly versioning Solr cloud config files on Zookeper using Git or any other versioning system? Or I realy need to use Zookeeper cli? When I said versioning directly on Zookeper, I

Re: SolrPlugin update existing documents in newSearcher()

2019-05-06 Thread Maria Muslea
Thank you so much, this is very helpful. Maria On Thu, May 2, 2019 at 2:39 PM Jan Høydahl wrote: > I think you cannot do that. The callback is sent AFTER a searcher is > opened on the segment, so the index is already there. > Normally you re-index from source if you need changes in schema or >

Zookeeper solr config files

2019-05-06 Thread Kojo
This is a zookeeper question, but I wonder you can help me. Is it possible to directly versioning Solr cloud config files on Zookeper using Git or any other versioning system? Or I realy need to use Zookeeper cli? When I said versioning directly on Zookeper, I mean version a folder of Zookeeper

Re: The easiest way to get array of matched terms

2019-05-06 Thread SOLR4189
Nice feature, but it isn't what I search. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Custom post filter with support for 'OR' queries

2019-05-06 Thread Mikhail Khludnev
This case isn't worth to bother with custom code. Deriving terms in analysis usually works fine. This might be addressed with https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#reversed-wildcard-filter or

Re: The easiest way to get array of matched terms

2019-05-06 Thread Mikhail Khludnev
Hi, debug.explain.structured=true parameter may be specified to return this information as nested data structures native to the response format requested by wt. On Mon, May 6, 2019 at 10:01 AM SOLR4189 wrote: > Hi all, > > What is the easiest way to get array of matched terms per doc? I don't

UAX29 URL Email Tokenizer not working as expected

2019-05-06 Thread Tom Van Cuyck
Hi, The UAX29 URL Email Tokenizer is not working as expected. According to the documentation ( https://lucene.apache.org/solr/guide/7_2/tokenizers.html): "Words are split at hyphens, unless there is a number in the word, in which case the token is not split and the numbers and hyphen(s) are

Re: Unresolved dependencies (io.dropwizard.metrics) while building Solr

2019-05-06 Thread Erlend Garåsen
Thanks for your help, Erick. :) BUILD SUCCESSFUL Erlend On 03/05/2019 17:56, Erick Erickson wrote: > Sometimes this is leftover files in the checkout tree, occasionally it has to > do with checksum files, sometimes it’s gremlins. I have never had a problem > if I try some combination of: >

Re: Potential authorization bug when making HTTP requests

2019-05-06 Thread Jan Høydahl
Hi There has been some work on the 'all' permission lately as well, see e.g. SOLR-13355 which is not yet released. Have not analyzed your case to see if it could be related. I encourage you to test with 8.1 nighlyt

The easiest way to get array of matched terms

2019-05-06 Thread SOLR4189
Hi all, What is the easiest way to get array of matched terms per doc? I don't need positions or offsets, matched terms only. I found a way - debug=results, but it requires to parse result (for example, extract term from weight(field_name: term). Maybe does somebody know another way? Without