Re: SolrJ 9.2 and Java version

2023-04-17 Thread Dominique Bejean
Thank you.

Le jeu. 13 avr. 2023 à 15:43, Shawn Heisey  a écrit :

> On 4/13/23 02:49, Dominique Bejean wrote:
> > I don't find in documentation which minimal version is required for SolrJ
> > 9.2. JAva 11 and 17 are supported for sure, but is Java 1.8 still
> possible ?
>
> No.  Java 11 is the minimum requirement for Solr (and any other related
> component like SolrJ) since version 9.0.0.
>
> Thanks,
> Shawn
>


Re: Date Range Facet sort order

2023-04-17 Thread Chris Hostetter


: Still one question, is there a way to change the sort order for date 
: range facets? Or do I do that on my end? There are some cases where I 
: want to see results in count order, other cases where I want to see 
: results sort on the button range.

There is no server side option to change the sort of range facets, 
precisely because it is just as easy/efficient to do it on the client 
side.

(Solr has/had a general design ethos of "Only do on the servier side 
things that are not possible, or as efficient, to do on the client side)

field faceting supports sorting because it's not possible (or efficient) 
to do on the client side (w/o fetching every possible term bucket) but 
query & range faceting already return all the buckets to the client, so 
there isn't much point in solr doing the soting -- it's just added time 
spent holding open that socket, and burning "expensive" (limited) Solr CPU 
vs more easily scalable client CPU>



-Hoss
http://www.lucidworks.com/


browse UI for Solr 9x version

2023-04-17 Thread Shamik Bandopadhyay
Hi,

  As per Solr 9 release document, "VelocityResponseWriter is an independent
project now; it is no longer a part of Solr. This encompasses all
previously included /browse and wt=velocity examples." Just wondering how
can I restore the "browse" UI module. I tried the following using
sample_techproducts_configs
project.

   1. I copied the velocity lib folder from 8.11.1 under the modules folder
   in 9.2.0
   2. Added the following line in solrconfig.xml :
  
   3. Added the following in solrconfig.xml :


 ${velocity.template.base.dir:}
 

I still wasn't able to make the browse UI work. I couldn't find any
documentation to make this available again. Are there any other steps I'm
missing out?

Thanks,
Shamik


Re: browse UI for Solr 9x version

2023-04-17 Thread Erik Hatcher
This feature is no longer maintained nor supported but the last working
version of it lives here:

https://github.com/erikhatcher/solr-velocity

You're on your own with it from there, alas.

Best,
Erik

On Mon, Apr 17, 2023, 18:54 Shamik Bandopadhyay  wrote:

> Hi,
>
>   As per Solr 9 release document, "VelocityResponseWriter is an independent
> project now; it is no longer a part of Solr. This encompasses all
> previously included /browse and wt=velocity examples." Just wondering how
> can I restore the "browse" UI module. I tried the following using
> sample_techproducts_configs
> project.
>
>1. I copied the velocity lib folder from 8.11.1 under the modules folder
>in 9.2.0
>2. Added the following line in solrconfig.xml :
>   dir="${solr.install.dir:../../../..}/modules/velocity/lib/"
> regex=".*\.jar"
>/>
>3. Added the following in solrconfig.xml :
>
>  class="solr.VelocityResponseWriter"
>startup="lazy">
>  ${velocity.template.base.dir:}
>  
>
> I still wasn't able to make the browse UI work. I couldn't find any
> documentation to make this available again. Are there any other steps I'm
> missing out?
>
> Thanks,
> Shamik
>


Re: browse UI for Solr 9x version

2023-04-17 Thread Shamik Bandopadhyay
Thanks Erik. I'm surprised that the community decided to remove this, but
it has been a valuable UI tool for developers, QA, and analysts to browse
data. Just curious, are there any other UI tools that folks are using as
replacements?

On Mon, Apr 17, 2023 at 4:11 PM Erik Hatcher  wrote:

> This feature is no longer maintained nor supported but the last working
> version of it lives here:
>
> https://github.com/erikhatcher/solr-velocity
>
> You're on your own with it from there, alas.
>
> Best,
> Erik
>
> On Mon, Apr 17, 2023, 18:54 Shamik Bandopadhyay  wrote:
>
> > Hi,
> >
> >   As per Solr 9 release document, "VelocityResponseWriter is an
> independent
> > project now; it is no longer a part of Solr. This encompasses all
> > previously included /browse and wt=velocity examples." Just wondering how
> > can I restore the "browse" UI module. I tried the following using
> > sample_techproducts_configs
> > project.
> >
> >1. I copied the velocity lib folder from 8.11.1 under the modules
> folder
> >in 9.2.0
> >2. Added the following line in solrconfig.xml :
> >>dir="${solr.install.dir:../../../..}/modules/velocity/lib/"
> > regex=".*\.jar"
> >/>
> >3. Added the following in solrconfig.xml :
> >
> >  > class="solr.VelocityResponseWriter"
> >startup="lazy">
> >   name="template.base.dir">${velocity.template.base.dir:}
> >  
> >
> > I still wasn't able to make the browse UI work. I couldn't find any
> > documentation to make this available again. Are there any other steps I'm
> > missing out?
> >
> > Thanks,
> > Shamik
> >
>


Re: browse UI for Solr 9x version

2023-04-17 Thread Jan Høydahl
Hi,

If you're looking for a tool to quickly mash up a query frontend, you could 
have a look at Project Blacklight

http://projectblacklight.org 

Jan

> 18. apr. 2023 kl. 01:26 skrev Shamik Bandopadhyay :
> 
> Thanks Erik. I'm surprised that the community decided to remove this, but
> it has been a valuable UI tool for developers, QA, and analysts to browse
> data. Just curious, are there any other UI tools that folks are using as
> replacements?
> 
> On Mon, Apr 17, 2023 at 4:11 PM Erik Hatcher  wrote:
> 
>> This feature is no longer maintained nor supported but the last working
>> version of it lives here:
>> 
>>https://github.com/erikhatcher/solr-velocity
>> 
>> You're on your own with it from there, alas.
>> 
>> Best,
>>Erik
>> 
>> On Mon, Apr 17, 2023, 18:54 Shamik Bandopadhyay  wrote:
>> 
>>> Hi,
>>> 
>>>  As per Solr 9 release document, "VelocityResponseWriter is an
>> independent
>>> project now; it is no longer a part of Solr. This encompasses all
>>> previously included /browse and wt=velocity examples." Just wondering how
>>> can I restore the "browse" UI module. I tried the following using
>>> sample_techproducts_configs
>>> project.
>>> 
>>>   1. I copied the velocity lib folder from 8.11.1 under the modules
>> folder
>>>   in 9.2.0
>>>   2. Added the following line in solrconfig.xml :
>>>  >>   dir="${solr.install.dir:../../../..}/modules/velocity/lib/"
>>> regex=".*\.jar"
>>>   />
>>>   3. Added the following in solrconfig.xml :
>>> 
>>>>> class="solr.VelocityResponseWriter"
>>>   startup="lazy">
>>> > name="template.base.dir">${velocity.template.base.dir:}
>>> 
>>> 
>>> I still wasn't able to make the browse UI work. I couldn't find any
>>> documentation to make this available again. Are there any other steps I'm
>>> missing out?
>>> 
>>> Thanks,
>>> Shamik
>>> 
>> 



Re: browse UI for Solr 9x version

2023-04-17 Thread Erik Hatcher
A few reasons for this - it wasn't getting community attention besides the
efforts I put into it, and there was a security vulnerability (which was
fixed), and Solr itself was being trimmed down to make extra features like
this a plugin.

With it being open source, please feel free to fork it and update it to the
latest version of Solr, and solicit others to resurrect it.

And Jan just pointed to another project near and dear to my heart,
Blacklight, which has a large and vibrant user and developer community
around it.

Erik

On Mon, Apr 17, 2023, 19:27 Shamik Bandopadhyay  wrote:

> Thanks Erik. I'm surprised that the community decided to remove this, but
> it has been a valuable UI tool for developers, QA, and analysts to browse
> data. Just curious, are there any other UI tools that folks are using as
> replacements?
>
> On Mon, Apr 17, 2023 at 4:11 PM Erik Hatcher 
> wrote:
>
> > This feature is no longer maintained nor supported but the last working
> > version of it lives here:
> >
> > https://github.com/erikhatcher/solr-velocity
> >
> > You're on your own with it from there, alas.
> >
> > Best,
> > Erik
> >
> > On Mon, Apr 17, 2023, 18:54 Shamik Bandopadhyay 
> wrote:
> >
> > > Hi,
> > >
> > >   As per Solr 9 release document, "VelocityResponseWriter is an
> > independent
> > > project now; it is no longer a part of Solr. This encompasses all
> > > previously included /browse and wt=velocity examples." Just wondering
> how
> > > can I restore the "browse" UI module. I tried the following using
> > > sample_techproducts_configs
> > > project.
> > >
> > >1. I copied the velocity lib folder from 8.11.1 under the modules
> > folder
> > >in 9.2.0
> > >2. Added the following line in solrconfig.xml :
> > >> >dir="${solr.install.dir:../../../..}/modules/velocity/lib/"
> > > regex=".*\.jar"
> > >/>
> > >3. Added the following in solrconfig.xml :
> > >
> > >  > > class="solr.VelocityResponseWriter"
> > >startup="lazy">
> > >   > name="template.base.dir">${velocity.template.base.dir:}
> > >  
> > >
> > > I still wasn't able to make the browse UI work. I couldn't find any
> > > documentation to make this available again. Are there any other steps
> I'm
> > > missing out?
> > >
> > > Thanks,
> > > Shamik
> > >
> >
>


Re: Query on Solr and ZK ports

2023-04-17 Thread HariBabu kuruva
Can someone please help with this information?

On Tue, Apr 4, 2023 at 10:01 PM HariBabu kuruva 
wrote:

> Hi All,
>
> I could see the solr process is Listening on 7981 port along with the
> normal solr port(8981). It is shown as DSTOP PORT , when I grep solr
> process. Could you please give more details on this port, Can we disable
> this ?
>
> With regards to Zookeeper I could see port 8080 as a ZK admin port, How
> can I use this, can i disable it if I don't want it ?
> Also I could see ZK is listening on some random port (43801) along with
> the other ports. Please throw some light on this.
>
> --
>
> Thanks and Regards,
>  Hari
> Mobile:9790756568
>


-- 

Thanks and Regards,
 Hari
Mobile:9790756568