RE: Programmatic Basic Auth on CloudSolrClient

2021-03-05 Thread Subhajit Das
Hi Tomas, Tried your suggestion. But last suggestion (directly passing the httpclient) resilts in NonRepeatableRequestException. And using full step, also didn’t recognize the auth. Anything I should look for? Thanks, Subhajit From: Tomás Fernández Löbbe Sent:

Re: Investigating Seeming Deadlock

2021-03-05 Thread Mike Drob
Were you having any OOM errors beforehand? If so, that could have caused some GC of objects that other threads still expect to be reachable, leading to these null monitors. On Fri, Mar 5, 2021 at 12:55 PM Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi SOLR Community, > > I'm

Investigating Seeming Deadlock

2021-03-05 Thread Stephen Lewis Bianamara
Hi SOLR Community, I'm investigating a node on solr 8.3.1 running in cloud mode which appears to have deadlocked, and I'm trying to figure out if this is a known issue or not, and looking for some guidance in understanding both (a) whether this is a resolved issue in future releases or needs a

Re: What controls field cache size and eviction rates?

2021-03-05 Thread Stephen Lewis Bianamara
Should say -- Can anyone confirm if it's right *still*, since the article is 10 years old :) On Fri, Mar 5, 2021 at 10:36 AM Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi SOLR Community, > > Just following up here with an update. I found this article which goes > into depth

Re: What controls field cache size and eviction rates?

2021-03-05 Thread Stephen Lewis Bianamara
Hi SOLR Community, Just following up here with an update. I found this article which goes into depth on the field cache though stops short of discussing how it handles eviction. Can anyone confirm if this info is right? https://lucidworks.com/post/scaling-lucene-and-solr/ Also, can anyone

Re: Caffeine Cache Metrics Broken?

2021-03-05 Thread Stephen Lewis Bianamara
Thanks Shawn. Something seems different between the two because Caffeine Cache is having much higher volume per hour than our previous implementation was. So I guess it is then more likely that it is something actually expected due to a change in what is getting kept/warmed, so I'll look into this

Re: org.apache.solr.common.SolrException: this IndexWriter is closed

2021-03-05 Thread Dominique Bejean
Hi, You are using RAMDirectoryFactory without enough RAM ? regards Dominique Le ven. 5 mars 2021 à 16:18, 李世明 a écrit : > Hello: > > Have you encountered the following exception that will cause the index to > not be written? But you can query > Version:8.7.0 > >

org.apache.solr.common.SolrException: this IndexWriter is closed

2021-03-05 Thread 李世明
Hello: Have you encountered the following exception that will cause the index to not be written? But you can query Version:8.7.0 org.apache.solr.common.SolrException: this IndexWriter is closed at

Re: new tlog files are not created per commit but adding into latest existing tlog file after replica reload

2021-03-04 Thread Michael Hu
Hi experts: After I sent out previous email, I issued commit on that replica core and observed the same "ClosedChannelException", please refer to below under "issuing core commit" section Then I issued a core reload, and I see the timestamp of the latest tlog file changed, please refer to

Re: Programmatic Basic Auth on CloudSolrClient

2021-03-04 Thread Tomás Fernández Löbbe
Ah, right, now I remember that something like this was possible with the "http1" version of the clients, which is why I created the Jira issues for the http2 ones. Maybe you can even skip the "LBHttpSolrClient" step, I believe you can just pass the HttpClient to the CloudSolrClient? you will have

new tlog files are not created per commit but adding into latest existing tlog file after replica reload

2021-03-04 Thread Michael Hu
Hi experts: Need some help and suggestion about an issue I am facing Solr info: - Solr 8.7 - Solr cloud with tlog replica; replica size is 3 for my Solr collection Issue: - before issuing collection reload; I observed a new tlog file are created after every commit; and those tlog files are

Re: Programmatic Basic Auth on CloudSolrClient

2021-03-04 Thread Mark H. Wood
On Wed, Mar 03, 2021 at 10:34:50AM -0800, Tomás Fernández Löbbe wrote: > As far as I know the current OOTB options are system properties or > per-request (which would allow you to use different per collection, but > probably not ideal if you do different types of requests from different > parts of

graph traversal filter which uses document value in the query

2021-03-04 Thread Lee Carroll
Hi All, I'm using the graph query parser to traverse a set of edge documents. An edge looks like "id":"edge1", "recordType":"journey", "Date":"2021-03-04T00:00:00Z", "Origin ":"AAC", "OriginLocalDateTime":"2021-03-04T05:00:00Z", "Destination":"AAB",

Re: Get first value in a multivalued field

2021-03-04 Thread Walter Underwood
You can copy the field to another field, then use the FirstFieldValueUpdateProcessorFactory to limit that field to the first value. At least, that seems to be what that URP does. I have not used it. https://solr.apache.org/guide/8_8/update-request-processors.html wunder Walter Underwood

Get first value in a multivalued field

2021-03-04 Thread ufuk yılmaz
Hi, Is it possible in any way to get the first value in a multivalued field? Using function queries, streaming expressions or any other way without reindexing? (Stream decorators have array(), but no way to get a value at a specific index?) Another one, is it possible to match a regex to a

Re: wordpress anyone?

2021-03-04 Thread dmitri maziuk
On 2021-03-03 10:24 PM, Gora Mohanty wrote: ... there does seem to be another plugin that is open-source,and hosted on Github: https://wordpress.org/plugins/solr-power/ I saw it, they lost me at "you'll need access to a functioning Solr 3.6 instance for the plugin to work as expected. This

Re: Potential Slow searching for unified highlighting on Solr 8.8.0/8.8.1

2021-03-04 Thread Ere Maijala
Hi, Solr uses JIRA for issue tickets. You can find it here: https://issues.apache.org/jira/browse/SOLR I'd suggest filing a new bug issue in the SOLR project (note that several other projects also use this JIRA installation). Here's an example of an existing highlighter issue for reference:

Graph query from A to X[n] when number of hops is not known

2021-03-03 Thread Sravani Kambhampati
Hi, How to graph query from A to X where number of hops is not known, but when graph query for each hop remains same. For example: If my graph looks like this, id:A -> pk:A1 -> tgt:A2 id:B -> pk:B1 -> tgt:B2 ... id:X To get from A to B, 1. We query A to A2 using (id->pk) + (pk -> tgt)

Re: wordpress anyone?

2021-03-03 Thread Gora Mohanty
On Thu, 4 Mar 2021 at 01:50, dmitri maziuk wrote: > Hi all, > > does anyone use Solr with WP? It seems there is one for-pay-only > offering and a few defunct projects from a decade ago... a great web > search engine is particularly useful if it can actually be used in a > client. > > So has

wordpress anyone?

2021-03-03 Thread dmitri maziuk
Hi all, does anyone use Solr with WP? It seems there is one for-pay-only offering and a few defunct projects from a decade ago... a great web search engine is particularly useful if it can actually be used in a client. So has anyone heard about any active WP integration projects other than

Solr NRT Replicas Out of Sync

2021-03-03 Thread Anshuman Singh
Hi, In our Solr 7.4 cluster, we have noticed that some replicas of some of our Collections are out of sync, the slave replica has more number of records than the leader. This is resulting in different number of records on subsequent queries on the same Collection. Commit is also not helping in

Parallel SQL Interface and 'qt'

2021-03-03 Thread Jostein Elvaker Haande
Hi, I've just started to look into the Parallel SQL interface available in SOLR. I've done some tests across a few collections, and it works fairly well. However I've run into an issue with a few collections where the SQL interface does not return any data. Now according to the documentation, it

RE: Programmatic Basic Auth on CloudSolrClient

2021-03-03 Thread Subhajit Das
Thanks. This would be very helpful. From: Tomás Fernández Löbbe Sent: 04 March 2021 12:32 AM To: solr-user@lucene.apache.org Subject: Re: Programmatic Basic Auth on CloudSolrClient Maybe something like this (I omitted a lot of

Re: Programmatic Basic Auth on CloudSolrClient

2021-03-03 Thread Tomás Fernández Löbbe
Maybe something like this (I omitted a lot of things you'll have to do, like passing zk or the list of hosts): static class CustomCloudSolrClient extends CloudSolrClient { protected CustomCloudSolrClient(CustomCloudSolrClientBuilder builder) { super(builder); } @Override public

RE: Programmatic Basic Auth on CloudSolrClient

2021-03-03 Thread Subhajit Das
Hi Thomas, Thanks. Can you please also share a sample of code to configure the client with your workaround? From: Tomás Fernández Löbbe Sent: 04 March 2021 12:05 AM To: solr-user@lucene.apache.org Subject: Re: Programmatic Basic

Re: NPE in QueryComponent.mergeIds when using timeAllowed and sorting SOLR 8.7

2021-03-03 Thread Tomás Fernández Löbbe
Patch looks good to me. Since it's a bugfix it can be committed to 8_8 branch and released on the next bugfix release, though I don't think it should trigger one. In the meantime, if you can patch your environment and confirm that it fixes your problem, that's a good comment to leave in

Amazon Sponsor Product(Ads) Search team is looking for talents with expertise in Solr/Lucene at all levels

2021-03-03 Thread pxiong
Hi folks, Are you interested in Amazon’s Advertising (that employs state of art solutions involving Search, Digital Advertising, AWS technologies etc) but wondering which team can best leverage your expertise in Solr/Lucene? Please continue to read: My team is Sponsored Search Delivery

Re: Programmatic Basic Auth on CloudSolrClient

2021-03-03 Thread Tomás Fernández Löbbe
As far as I know the current OOTB options are system properties or per-request (which would allow you to use different per collection, but probably not ideal if you do different types of requests from different parts of your code). A workaround (which I've used in the past) is to have a custom

Programmatic Basic Auth on CloudSolrClient

2021-03-03 Thread Subhajit Das
Hi There, Is there any way to programmatically set basic authentication credential on CloudSolrClient? The only documentation available is to use system property. This is not useful if two collection required two separate set of credentials and they are parallelly accessed. Thanks in

Solr backup no longer writes to a UNC path

2021-03-03 Thread Gell-Holleron, Daniel
Hi there, We've upgraded from Solr 7.7.1 to Solr 8.8.1 (running on Windows Operating System) and I've noticed that when running a Solr backup, it will no longer allow me to write to a UNC path. Is this something that has been purposely changed? I've noticed a new system property called

Increase in response time in case of collapse queries.

2021-03-03 Thread Parshant Kumar
Hi all, We have implemented collapse queries in place of grouped queries on our production solr. As mentioned in solr documentation collapse queries are recommended in place of grouped queries in terms of performance . But after switching to collapsed queries from grouped queries response time of

How can I get dynamicField in Solr 6.1.0.

2021-03-03 Thread vishal patel
I am using Solr 6.1.0. We have 2 shards and each has one replica. My schema field is below in one collection My data like FORM1065678510875540 2021-03-03T23:59:59Z false false £ No fdsfsfsfsf Yes 2021-03-03 yes 2021-03-01T06:55:29 12:00 PM no

FW: Graph traversal when nodes are indirectly connected with references

2021-03-03 Thread Sravani Kambhampati
I have a graph with disjoint sets of nodes connected indirectly with a reference as shown below. Given an id is it possible to get the leaf node when the depth is unknown? [ { id: A, child: { ref: B } }, { id: B, child: { ref: C } }, { id: C, child: { ref: D } }, . . {

RE: Filter by sibling ?

2021-03-02 Thread Manoj Mokashi
I tried passing a parent parser connected to the {!child} parser using query params, and it seems to work ! q=type:C1 AND AND {!child of='type:PR' v=$statusqry} statusqry={!parent which='type:PR' }type:C2 Note that my real query is not exactly this, so I haven't tried the exact expression

Query response time long for dynamicField in Solr 6.1.0

2021-03-02 Thread vishal patel
I am using Solr 6.1.0. We have 2 shards and each has one replica. My schema field is below in one collection When I execute below query It is taking more than 180 milliseconds every time.

RE: Filter by sibling ?

2021-03-02 Thread Manoj Mokashi
Ok. Will check. thanks ! -Original Message- From: Joel Bernstein Sent: Tuesday, March 2, 2021 8:48 PM To: solr-user@lucene.apache.org Subject: Re: Filter by sibling ? Solr's graph expressions can do this type of thing. It allows you to walk the relationships in a graph with filters:

Re: Caffeine Cache Metrics Broken?

2021-03-02 Thread Shawn Heisey
On 3/2/2021 3:47 PM, Stephen Lewis Bianamara wrote: I'm investigating a weird behavior I've observed in the admin page for caffeine cache metrics. It looks to me like on the older caches, warm-up queries were not counted toward hit/miss ratios, which of course makes sense, but on Caffeine cache

RE: Idle timeout expired and Early Client Disconnect errors

2021-03-02 Thread ufuk yılmaz
I divided the query to 1000 pieces and removed the parallel stream clause, it seems to be working without timeout so far, if it does I just can divide it to even smaller pieces I guess. I tried to send all 1000 pieces in a “list” expression to be executed linearly, it didn’t work but I was

RE: Default conjunction behaving differently after field type change

2021-03-02 Thread ufuk yılmaz
I changed the tokenizer class from KeywordTokenizerFactory to WhitespaceTokenizerFactory for the query analyzer using the Schema API, it seems to have solved the problem. Sent from Mail for Windows 10 From: ufuk yılmaz Sent: 02 March 2021 20:47 To: solr-user@lucene.apache.org Subject: Default

RE: Schema API specifying different analysers for query and index

2021-03-02 Thread ufuk yılmaz
It worked! Thanks Mr. Rafalovitch. I just removed “type”: “query”.. keys from the json, and used indexAnalyzer and queryAnalyzer in place of analyzer json node. Sent from Mail for Windows 10 From: Alexandre Rafalovitch Sent: 03 March 2021 01:19 To: solr-user Subject: Re: Schema API specifying

Running Simple Streaming expressions in a loop through SolrJ stops with read timeout after a few iterations

2021-03-02 Thread ufuk yılmaz
I’m using the following example on Lucidworks to use streaming expressions from SolrJ: https://lucidworks.com/post/streaming-expressions-in-solrj/ Problem is, when I run it inside a for loop, even the simplest expression (echo) stops executing after about 5 iterations. I thought the underlying

Caffeine Cache Metrics Broken?

2021-03-02 Thread Stephen Lewis Bianamara
Hi SOLR Community, I'm investigating a weird behavior I've observed in the admin page for caffeine cache metrics. It looks to me like on the older caches, warm-up queries were not counted toward hit/miss ratios, which of course makes sense, but on Caffeine cache it looks like they are. I'm using

Re: Schema API specifying different analysers for query and index

2021-03-02 Thread Alexandre Rafalovitch
RefGuide gives this for Adding, I would hope the Replace would be similar: curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field-type":{ "name":"myNewTextField", "class":"solr.TextField", "indexAnalyzer":{ "tokenizer":{

Re: Location of Solr 9 Branch

2021-03-02 Thread Houston Putman
Solr 9 is an unreleased major version, so it lives in *master*. Once the release process starts for Solr 9, it will live at *branch_9x*, and *master* will host Solr 10. On Tue, Mar 2, 2021 at 3:49 PM Phill Campbell wrote: > I have just begun investigating Solr source code. Where is the branch

Location of Solr 9 Branch

2021-03-02 Thread Phill Campbell
I have just begun investigating Solr source code. Where is the branch for Solr 9?

Schema API specifying different analysers for query and index

2021-03-02 Thread ufuk yılmaz
Hello, I’m trying to change a field’s query analysers. The following works but it replaces both index and query type analysers: { "replace-field-type": { "name": "string_ci", "class": "solr.TextField", "sortMissingLast": true, "omitNorms": true,

Default conjunction behaving differently after field type change

2021-03-02 Thread ufuk yılmaz
Hello all, >From the Solr 8.4 (my version) documentation: “The OR operator is the default conjunction operator. This means that if there is no Boolean operator between two terms, the OR operator is used. To search for documents that contain either "jakarta apache" or just "jakarta," use the

Possible bug with AnalyzingInfixLookupFactory, FileDictionaryFactory and Context Filtering

2021-03-02 Thread Joaquim de Souza
Hi all, I asked a question on StackOverflow about a problem I was having with the suggester module, but since then I have looked into the source code of Solr, and I thinkit is

Re: Filter by sibling ?

2021-03-02 Thread Joel Bernstein
Solr's graph expressions can do this type of thing. It allows you to walk the relationships in a graph with filters: https://lucene.apache.org/solr/guide/8_6/graph-traversal.html Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Mar 2, 2021 at 9:00 AM Manoj Mokashi wrote: > Hi, > > If I

Re: Partial update bug on solr 8.8.0

2021-03-02 Thread Mike Drob
This looks like a bug that is already fixed but not yet released in 8.9 https://issues.apache.org/jira/plugins/servlet/mobile#issue/SOLR-13034 On Tue, Mar 2, 2021 at 6:27 AM Mohsen Saboorian wrote: > Any idea about this post? > https://stackoverflow.com/q/66335803/141438 > > Regards. >

Re: Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Martin Graney
Hi Alex Thanks for the reply. We are not using the 'copyField bucket' approach as it is inflexible. Our textual fields are all multivalued dynamic fields, which allows us to craft a list of `pf` (phrase fields) with associated weighting boosts that are meant to be used in the search on a

Filter by sibling ?

2021-03-02 Thread Manoj Mokashi
Hi, If I have a nested document structure, with say parent type:PR, child 1 type:C1 and child2 type:C2, would it possible to fetch documents of type C1 that are children of parents that have child2 docs with a certain condition ? e.g. for { type:PR, Title: "XXX", Children1 : [ { type:C1,

Re: Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Alexandre Rafalovitch
I admit to not fully understanding the examples, but ComplexQueryParser looks like something worth at least reviewing: https://lucene.apache.org/solr/guide/8_8/other-parsers.html#complex-phrase-query-parser Also I did not see any references to trying to copyField and process same content in

Partial update bug on solr 8.8.0

2021-03-02 Thread Mohsen Saboorian
Any idea about this post? https://stackoverflow.com/q/66335803/141438 Regards.

Multiword synonyms and term wildcards/substring matching

2021-03-02 Thread Martin Graney
Hi All I have been trying to implement multi word synonyms using `sow=false` into a pre-existing system that applied pre-processing to the phrase to apply wildcards around the terms, i.e. `bread stick` => `*bread* *stick*`. I got the synonyms expansion working perfectly, after discovering the

Re: Solr wiki page update

2021-03-02 Thread Jan Høydahl
Vincent, I added you as editor, please try editing that page again. Jan > 11. feb. 2021 kl. 17:43 skrev Vincent Brehin : > > Hi community members, > I work for Adelean https://www.adelean.com/ , we are offering services > around everything Search related, and especially Solr consulting and >

Re: Zookeeper 3.4.5 with Solr 8.8.0

2021-03-01 Thread Shawn Heisey
On 3/1/2021 9:45 PM, Subhajit Das wrote: That is not possible at this time. Will it be ok, if remote the zookeeper dependencies (jars) from solr and replace it with 3.5.5 jars? Thanks in advance. Maybe. But I cannot say for sure. I know that when we upgraded to ZK 3.5, some fairly

RE: Zookeeper 3.4.5 with Solr 8.8.0

2021-03-01 Thread Subhajit Das
Hi Shawn, That is not possible at this time. Will it be ok, if remote the zookeeper dependencies (jars) from solr and replace it with 3.5.5 jars? Thanks in advance. From: Shawn Heisey Sent: Monday, March 1, 2021 11:17:24 PM To: solr-user@lucene.apache.org ;

Re: NPE in QueryComponent.mergeIds when using timeAllowed and sorting SOLR 8.7

2021-03-01 Thread Phill Campbell
Anyone? > On Feb 24, 2021, at 7:47 AM, Phill Campbell > wrote: > > Last week I switched to Solr 8.7 from a “special” build of Solr 6.6 > > The system has a timeout set for querying. I am now seeing this bug. > > https://issues.apache.org/jira/browse/SOLR-14758 >

Re: Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread Joel Bernstein
Also the parallel function builds hash partitioning filters that could lead to timeouts if they take too long to build. Try the query without the parallel function if you're still getting timeouts when making the query smaller. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Mar 1, 2021

Re: Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread Joel Bernstein
The settings in your version are 30 seconds and 15 seconds for socket and connection timeouts. Typically timeouts occur because one or more shards in the query are idle beyond the timeout threshold. This happens because lot's of data is being read from other shards. Breaking the query into small

RE: Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread ufuk yılmaz
Hello Mr. Bernstein, I’m using version 8.4. So, if I understand correctly, I can’t increase timeouts and they are bound to happen in such a large stream. Should I just reduce the output of my search expressions? Maybe I can split my search results into ~100 parts and run the same query 100

Re: Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread Joel Bernstein
Oh wait, I misread your email. The idle timeout issue is configurable in: https://issues.apache.org/jira/browse/SOLR-14672 This unfortunately missed the 8.8 release and will be 8.9. This i Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Mar 1, 2021 at 2:56 PM Joel Bernstein wrote:

Re: Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread Joel Bernstein
What version are you using? Solr 8.7 has changes that caused these errors to hit the logs. These used to be suppressed. This has been fixed in Solr 9.0 but it has not been back ported to Solr 8.x. The errors are actually normal operational occurrences when doing joins so should be suppressed in

Re: Zookeeper 3.4.5 with Solr 8.8.0

2021-03-01 Thread Shawn Heisey
On 3/1/2021 6:51 AM, Subhajit Das wrote: I noticed, that Solr 8.8.0 uses Zookeeper 3.6.2 client, while Solr 6.3.0 uses Zookeeper 3.4.6 client. Is this a client bug or mismatch issue? If so, how to fix this? The ZK project guarantees that each minor version (X.Y.Z, where Y is the same) will

Idle timeout expired and Early Client Disconnect errors

2021-03-01 Thread ufuk yılmaz
Hello all, I’m running a large streaming expression and feeding the result to update expression. update(targetCollection, ...long running stream here..., I tried sending the exact same query multiple times, it sometimes works and indexes some results, then gives exception, other times fails

Zookeeper 3.4.5 with Solr 8.8.0

2021-03-01 Thread Subhajit Das
Hi There, I am setting up Solr 8.8.0 with Zookeeper 3.4.5. There seems to an issue. EndOfStream issue is coming, saying client must have closed the connection. If same tried with Solr 6.3.0, the issue dosen’t come. This comes with newer Solr only. I noticed, that Solr 8.8.0 uses Zookeeper

RE: How to read tlog

2021-03-01 Thread Subhajit Das
Thanks for reply. Will try. From: Gael Jourdan-Weil Sent: 01 March 2021 05:48 PM To: solr-user@lucene.apache.org Subject: RE: How to read tlog Hello, You can just use "cat" or "tail", even though the tlog is not a

RE: Potential Slow searching for unified highlighting on Solr 8.8.0/8.8.1

2021-03-01 Thread Flowerday, Matthew J
Hi Ere Please to be of service! No I have not filed a JIRA ticket. I am new to interacting with the Solr Community and only beginning to 'find my legs'. I am not too sure what JIRA is I am afraid! Regards Matthew Matthew Flowerday | Consultant | ULEAF Unisys | 01908 774830|

Re: Potential Slow searching for unified highlighting on Solr 8.8.0/8.8.1

2021-03-01 Thread Ere Maijala
Hi, Whoa, thanks for the heads-up! You may just have saved me from a whole lot of trouble. Did you file a JIRA ticket already? Thanks, Ere Flowerday, Matthew J kirjoitti 1.3.2021 klo 14.00: Hi There I just came across a situation where a unified highlighting search under solr 8.8.0/8.8.1

RE: How to read tlog

2021-03-01 Thread Gael Jourdan-Weil
Hello, You can just use "cat" or "tail", even though the tlog is not a text file, its content can mostly be read using these commands. You will have one document per line and should be able to see the fields content. I don't know is there is a Solr command which would give better display

Potential Slow searching for unified highlighting on Solr 8.8.0/8.8.1

2021-03-01 Thread Flowerday, Matthew J
Hi There I just came across a situation where a unified highlighting search under solr 8.8.0/8.8.1 can take over 20 mins to run and eventually times out. I resolved it by a config change - but it can catch you out. Hence this email. With solr 8.8.0 a new unified highlighting parameter was

Re: Congratulations to the new Apache Solr PMC Chair, Jan Høydahl!

2021-02-27 Thread Joel Bernstein
Congratulations Jan! Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Feb 22, 2021 at 2:41 AM Danilo Tomasoni wrote: > Congratulations Jan! > > Danilo Tomasoni > > Fondazione The Microsoft Research - University of Trento Centre for > Computational and Systems Biology (COSBI) > Piazza

Re: [ANNOUNCE] Apache Solr 8.8.1 released

2021-02-27 Thread Timothy Potter
Awesome! Thank you David and Tobias ;-) On Sat, Feb 27, 2021 at 12:21 PM David Smiley wrote: > > The corresponding docker image has been released as well: > https://hub.docker.com/_/solr > (credit to Tobias Kässmann for helping) > > ~ David Smiley > Apache Lucene/Solr Search Developer >

Re: [ANNOUNCE] Apache Solr 8.8.1 released

2021-02-27 Thread David Smiley
The corresponding docker image has been released as well: https://hub.docker.com/_/solr (credit to Tobias Kässmann for helping) ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On Tue, Feb 23, 2021 at 10:39 AM Timothy Potter wrote: > The Lucene PMC is

What guarantees does solr have for keeping commit deadlines?

2021-02-27 Thread Nándor Mátravölgyi
Hi! I'm working on building a NRT solr instance. The schema is designed so documents can be partially updated. Some documents will need to receive or lose filter tags in a multi-valued field. I have to be able to query already existing documents to add tags to them or remove tags from them.

How to read tlog

2021-02-27 Thread Subhajit Das
Hi There, I faced a issue, on a core, in multicore standalone instance. Is there any way to read tlog contents as text files. This might help to resolve the issue. Thanks in advance.

RE: Select streaming expression, add a field to every tuple, replaceor raw not working

2021-02-26 Thread ufuk yılmaz
I tried to debug this to the best of my ability, and it seems the correct name for the “raw” evaluator is “val”. Copied from StreamContext: val=class org.apache.solr.client.solrj.io.eval.RawValueEvaluator I think there’s a small error in stream evaluator documentation of 8.4

Select streaming expression, add a field to every tuple, replace or raw not working

2021-02-26 Thread ufuk yılmaz
Hello all, Solr version 8.4 I have a very simple select expression here. What I’m trying to do is to add a constant value to incoming tuples. My collection has only 1 document. Id_str is of type String. Other fields are Solr generated. { "_version_":1692761378187640832,

Jetty JNDI connection pooling

2021-02-26 Thread Srinivas Kashyap
Hi, Our datasource is oracle db and we are pulling data to solr through JDBC(DIH). I have below entry in jetty.xml jdbc/tss thin :1521:ORCL XXX XXX And we have

Re: Add plugins to Solr docker container

2021-02-25 Thread Prabhatika Vij
Hey Anil, If you want to execute anything before Solr starts, you can do the following: - mkdir initdb; echo "echo hi" > initdb/hi.sh docker run -v $PWD/initdb:/docker-entrypoint-initdb.d solr Using the above, you can have any script executed before Solr starts. Source:

Add plugins to Solr docker container

2021-02-25 Thread anilkumar panditi
Hi, I am first time user of the apache Solr, and i have brought up the Solr as docker container , and i am unable to install/enable someplugins (authentication,authorization etc).. Could you please help. how to add these plug ins to solr which is running as docker container. Thanks Anil

Rule Based Authorization

2021-02-25 Thread Subhajit Das
Hi There, I am trying to create a rule based authorization for two types of user. Role : Access - power-user : Everything except data change in collections/cores ui-user : UI access to view all data. But no edit access except data change in collections/cores How to implement

How can I enable scoring on a DocList rather than a DocSet

2021-02-25 Thread krishan goyal
Hi, I want to match and score on a sorted DocList. The use case is something like this - Cache sorted results (with scores) of certain queries in the queryCache (This is a DocList) - New queries are superset of these cached queries and have dynamic scoring clauses - At runtime, I

RE: Handling Locales in Solr

2021-02-25 Thread Krönert Florian
Hi Markus, thank you a lot for your response, that helps us very much. We will try out the approach of separating the cores by topic only. Kind Regards, Florian -Original Message- From: Markus Jelsma Sent: Mittwoch, 24. Februar 2021 12:27 To: solr-user@lucene.apache.org Subject: Re:

Re: Solr Cloud Autoscaling Basics

2021-02-24 Thread yasoobhaider
Any pointers here would be appreciated :) -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solr 7.6.0 - OOM Caused Down Replica. Cannot recover. Please advice

2021-02-24 Thread Ashwin Ramesh
Hi everyone, We had an OOM event earlier this morning. This has caused one of our shards to lose all it's replicas and it's leader is still in a down state. We have restarted the Java process (solr) and it's still in a down state. Logs below: ``` Feb 25, 2021 @ 11:46:43.000 2021-02-25

What controls field cache size and eviction rates?

2021-02-24 Thread Stephen Lewis Bianamara
Hi SOLR Community, I've been trying to understand how the field cache in SOLR manages its evictions, and it is not easily readable from the code or documentation the simple question of when and how something gets evicted from the field cache. This cache also doesn't show hit ratio, total hits,

Re: Dynamic starting or stoping of zookeepers in a cluster

2021-02-24 Thread Shawn Heisey
On 2/24/2021 9:04 AM, DAVID MARTIN NIETO wrote: If I'm not mistaken the number of zookeepers must be odd. Having 3 zoos on 3 different machines, if we temporarily lost one of the three machines, we would have only two running and it would be an even number.Would it be advisable in this case

RE: Dynamic starting or stoping of zookeepers in a cluster

2021-02-24 Thread DAVID MARTIN NIETO
One doubt about it: In order to have a highly available zookeeper, you must have at least three separate physical servers for ZK. Running multiple zookeepers on one physical machine gains you nothing ... because if the whole machine fails, you lose all of those zookeepers. If you have three

NPE in QueryComponent.mergeIds when using timeAllowed and sorting SOLR 8.7

2021-02-24 Thread Phill Campbell
Last week I switched to Solr 8.7 from a “special” build of Solr 6.6 The system has a timeout set for querying. I am now seeing this bug. https://issues.apache.org/jira/browse/SOLR-14758 Max Query Time goes from 1.6 seconds to 20 seconds and

NPE in QueryComponent.mergeIds when using timeAllowed and sorting SOLR 8.7

2021-02-24 Thread Phill Campbell
Last week I switched to Solr 8.7 from a “special” build of Solr 6.6 The system has a timeout set for querying. I am now seeing this bug. https://issues.apache.org/jira/browse/SOLR-14758 Max Query Time goes from 1.6 seconds to 20 seconds and

Re: Overriding Sort and boosting some docs to the top

2021-02-24 Thread Mark Robinson
Thanks Marcus for your response. Best, Mark On Wed, Feb 24, 2021 at 4:50 PM Markus Jelsma wrote: > I would stick to the query elevation component, it is pretty fast and > easier to handle/configure elevation IDs, instead of using function queries > for it. We have customers that set a dozen of

Re: Handling Locales in Solr

2021-02-24 Thread Markus Jelsma
Hello, We put all our customers in the same core/collection because of this, it is not practical to manage hundreds of cores, including their small overhead. Although it can be advantageous when it comes to relevance tuning, no skewed statistics because of other customers. In your case, an

Re: Overriding Sort and boosting some docs to the top

2021-02-24 Thread Markus Jelsma
I would stick to the query elevation component, it is pretty fast and easier to handle/configure elevation IDs, instead of using function queries for it. We have customers that set a dozen of documents for a given query and it works just fine. I also do not expect the function query variant to be

Re: Overriding Sort and boosting some docs to the top

2021-02-24 Thread Mark Robinson
Thanks for the reply Markus! I did try it. My question specifically was (repasting here):- Which is more recommended/ performant? Note:- Assume that I have hundreds of ids to boost like this. Is there a difference to the answer if docs to be boosted after the sort is less? Thanks! Mark On

Re: Overriding Sort and boosting some docs to the top

2021-02-24 Thread Markus Jelsma
Hello, You are probably looking for the elevator component, check it out: https://lucene.apache.org/solr/guide/8_8/the-query-elevation-component.html Regards, Markus Op wo 24 feb. 2021 om 11:59 schreef Mark Robinson : > Hi, > > I wanted to sort and then boost some docs to the top and these

Handling Locales in Solr

2021-02-24 Thread Krönert Florian
Hi everyone, First up thanks for this group, I appreciate it very much for exchanging opinions on how to use Solr. We built a Solr instance for one of our customers which is used for searching data on his website. We need to search different data (kb articles, products and external links) in

Overriding Sort and boosting some docs to the top

2021-02-24 Thread Mark Robinson
Hi, I wanted to sort and then boost some docs to the top and these docs should be my first set in the results and the following ones appearing according to my sort criteria. I understand that sort overrides bq hence bq may not be used in this case - I brought my boost into sort using "query()"

Cross join on multivalued field

2021-02-23 Thread Luke Oak
Hi, I am wondering whether there is planning to implement cross collections join query on multivalued field Thanks Sent from my iPhone

  1   2   3   4   5   6   7   8   9   10   >