How to add solr admin ui

2018-08-22 Thread Ahmed Musallam
Hi, I'd like to build a UI plugin for solr, I can see all the ui related assets in `/server/solr-webapp` but is there a way to add UI plugins without modifying the ui assets under `/server/solr-webapp`? by plugin, I mean some way I can add a some form of UI to the admin UI, and even better, make

Re: How to add solr admin ui

2018-08-22 Thread Emir Arnautović
Hi Ahmed, I am not aware of some extension point in UI, but you can maybe use some combination of request handler and velocity response writer to get what you want, but you will not have some link in UI. Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch

Re: not range query in block join

2018-08-22 Thread Mikhail Khludnev
q={!parent which=type_s:parent}+type_s:child -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] or q={!parent which=type_s:parent v=$cq}=+type_s:child -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] On Tue, Aug 21, 2018 at 7:13 PM Novin Novin wrote: > Hi Guys, > > I was try to do

Local development and SolrCloud

2018-08-22 Thread John Blythe
For those of you who are developing applications with solr and are using solrcloud in production: what are you doing locally? Cloud seems unnecessary locally besides testing strictly for cloud specific use cases or configurations. Am I totally off basis there? We are considering keeping a

Re: Local development and SolrCloud

2018-08-22 Thread Sameer Maggon
Why not just revert to everything SolrCloud? The advantages you will have is that you or your other team members are using the same APIs, parameters, experience, etc. that they will be using when they go from one environment to another. It would be less confusion to explain to someone why you are

Re: Local development and SolrCloud

2018-08-22 Thread Walter Underwood
We use Solr Cloud where we need sharding or near real time updates. For non-sharded collections that are updated daily, we use master-slave. There are some scaling and management advantages to the loose coupling in a master slave cluster. Just clone a slave instance and fire it up. Also, load

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-22 Thread Zheng Lin Edwin Yeo
Hi Jan and Shawn, So far I am still getting the error from the workaround and quick fix methods. Not sure if it is good to continue to use the files from Solr 7.3.1 while waiting for the release of Solr 7.5.0? Regards. Edwin On Wed, 22 Aug 2018 at 11:21, Zheng Lin Edwin Yeo wrote: > Ok noted.

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Erick Erickson
Then until you can try to fix the code, you need to increase your transient cache size. Having 100+ cores on a Solr node and a transient cache size of 1 to "so jvm heap and os filecache is aligned to a manageable number of open cores we can serve" implies that you are trying to compensate for an

Re: Local development and SolrCloud

2018-08-22 Thread Erick Erickson
I do quite a bit of "correctness" testing on a local stand-alone Solr, as Walter says, that's often easier to debug, especially when working through creating the proper analysis chains, do queries do what I expect and the like. That said, I'd never jump straight to SolrCloud implementations

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread mmb1234
> Having 100+ cores on a Solr node and a transient cache size of 1 The original post clarified the current state. "we have about 75 cores with "transientCacheSize" set to 32". If transientCacheSize is increased to match current cores, we'll differ the issue. It's going to hit 100's cores per

Re: Understanding how timeAllowed works in a distributed cluster

2018-08-22 Thread Ash Ramesh
Sorry I didn't understand your answer. Could you break that down a bit further. Thank you :) On Wed, Aug 22, 2018 at 11:53 PM Mikhail Khludnev wrote: > timeAllowed is not a realtime (as well as java per se). There is only a few > places which it can break. > > On Wed, Aug 22, 2018 at 4:09 PM

Re: [EXT] Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Erick Erickson
Oh, there are a number of reasons a text-based field wouldn't work, omitPosition=true would be one ;). Glad to hear it's working though. Best, Erick On Wed, Aug 22, 2018 at 10:42 AM, Hanjan, Harinder wrote: > Perhaps my memory fails me, I remember setting it as a text field and it not >

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Michael Hu (CMBU)
Can someone advise me how to solve this issue, please? Thank you so much! --Michael From: Michael Hu (CMBU) Sent: Friday, August 17, 2018 1:22 PM To: solr-user@lucene.apache.org Cc: Mohsin Beg Subject: Re: Solr core corrupted for version 7.4.0, please help!

Understanding how timeAllowed works in a distributed cluster

2018-08-22 Thread Ash Ramesh
Hi again, Specs: 7.3.1 | 8 Shards | Solr Cloud I was wondering how the timeAllowed parameter works when you architect your cluster in a sharded and distributed manner. This is the curl command and the timing Query:

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Mikhail Khludnev
Just to confirm. Are these cores write to the different data dirs? On Wed, Aug 22, 2018 at 4:08 PM Michael Hu (CMBU) wrote: > Can someone advise me how to solve this issue, please? > > > Thank you so much! > > > --Michael > > > > From: Michael Hu (CMBU) > Sent:

Re: 7.3.1: Query of death - all nodes ran out of memory and had to be shut down

2018-08-22 Thread Ash Ramesh
Thank you all :) We have made the necessary changes to mitigate this issue On Wed, Aug 22, 2018 at 6:01 AM Shawn Heisey wrote: > On 8/20/2018 9:55 PM, Ash Ramesh wrote: > > We ran a bunch of deep paginated queries (offset of 1,000,000) with a > > filter query. We set the timeout to 5 seconds

Re: Understanding how timeAllowed works in a distributed cluster

2018-08-22 Thread Mikhail Khludnev
timeAllowed is not a realtime (as well as java per se). There is only a few places which it can break. On Wed, Aug 22, 2018 at 4:09 PM Ash Ramesh wrote: > Hi again, > > Specs: 7.3.1 | 8 Shards | Solr Cloud > > I was wondering how the timeAllowed parameter works when you architect your > cluster

Solr Custom Similarity - Using a field from the indexed document

2018-08-22 Thread jagadeeshm
Can someone please look into the following - https://stackoverflow.com/questions/51978351/solr-custom-similarity-using-a-field-from-the-indexed-document Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Shawn Heisey
On 8/22/2018 7:09 PM, mmb1234 wrote: The original post clarified the current state. "we have about 75 cores with "transientCacheSize" set to 32". If transientCacheSize is increased to match current cores, we'll differ the issue. It's going to hit 100's cores per solr instance shortly. Majority

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-22 Thread Shawn Heisey
On 8/22/2018 8:31 PM, Zheng Lin Edwin Yeo wrote: Hi Jan and Shawn, So far I am still getting the error from the workaround and quick fix methods. Not sure if it is good to continue to use the files from Solr 7.3.1 while waiting for the release of Solr 7.5.0? You could check out the source

Re: How to add solr admin ui

2018-08-22 Thread Shawn Heisey
On 8/21/2018 7:11 PM, Ahmed Musallam wrote: I'd like to build a UI plugin for solr, I can see all the ui related assets in `/server/solr-webapp` but is there a way to add UI plugins without modifying the ui assets under `/server/solr-webapp`? by plugin, I mean some way I can add a some form of

Re: Atomic Update Failure With solr.UUID Field

2018-08-22 Thread Stephen Lewis Bianamara
Hello again! I found a thread which seems relevant. It looks like someone else found this occurred as well, but did not follow up with repro steps. But I did! :)

Re: not range query in block join

2018-08-22 Thread Novin Novin
Thanks you very much guys for help. On Wed, 22 Aug 2018 at 10:02 Mikhail Khludnev wrote: > q={!parent which=type_s:parent}+type_s:child > -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] > or > q={!parent which=type_s:parent v=$cq}=+type_s:child > -time_tdt:[2018-08-01T16:00:00Z TO

Re: sort and group.sort

2018-08-22 Thread Prashant Mankar
Hi, We also have the same situation where we need to sort and group.sort conflict each other can anyone find any solution on this. We also post the query on stack overflow https://stackoverflow.com/questions/51843803/how-to-sort-on-sorted-group-documents-in-solr -- Regards Prashant Mankar

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Shawn Heisey
On 8/16/2018 7:14 PM, Michael Hu (CMBU) wrote: Environment: * solr 7.4.1 * all cores are vanilla cores with "loadOnStartUp" set to false, and "transient" set to true * we have about 75 cores with "transientCacheSize" set to 32 Issue: we have core corruption from time to time

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread Erick Erickson
It should not be required that your transient core size is greater than or equal to the number of simultaneous updates. Theoretically, it works like this: - A request comes in and a reference-counted core is opened to serve it. That may require loading the core. - If another request comes in

edismax and booleans

2018-08-22 Thread David Hastings
having an issue where if i use edismax and search: (creator:(Michael Carrier)) it goes to the default operator of AND so gets results where creator has both those words in it. however when a boolean is present: *((pharmacy)) AND (creator:(Michael Carrier))* *it seems to revert to OR and do a *

Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Erick Erickson
StrFields are, by definition, unanalyzed. They cannot have position information because they are always one token. Searching for a phrase on a single token makes no sense. The error message is a little odd, but accurate. You'll have to re-index as a text-based field if you want this kind of

RE: [EXT] Re: field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Hanjan, Harinder
Perhaps my memory fails me, I remember setting it as a text field and it not working. In any case, I have set it up as follows and things are working well. Thanks Erick! -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wednesday, August

field was indexed without position data; cannot run SpanTermQuery

2018-08-22 Thread Hanjan, Harinder
Hello! I am doing wildcard queries to satisfy our search type ahead requirement for both single and mutli word (phrases) queries. I just noticed this error in the logs. 2018-08-22 16:36:48.433 INFO (qtp1654589030-18) [ x:suggestions] o.a.s.c.S.Request [suggestions] webapp=/solr

Re: Want to start contributing.

2018-08-22 Thread Jason Gerlowski
Hi Rohan, Welcome! To add just a bit to the good advice from Erick and Alex: If you want a smaller issue to familiarize yourself with our development workflow, the "newdev" label is a good place to start (as the wiki page referenced above points out). But I would also suggest taking a look at

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-22 Thread mmb1234
> The problem here is that you may have M requests queued up for the _same_ core, each with a new update request. With transientCacheSize ==1, as soon as the update request for Core B is received, Core B encounters data corruption not Core A. Both Core A and Core B are receiving update requets.