SOLR upgrade

2021-02-08 Thread Paul, Lulu
Hi SOLR team,

Please may I ask for advice regarding upgrading the SOLR version (our project 
currently running on solr-5.2.1) to the latest version?
What are the steps, breaking changes and potential issues ? Could this be done 
as an incremental version upgrade or a direct jump to the newest version?

Much appreciate the advice, Thank you!

Best Wishes
Lulu


**
Experience the British Library online at www.bl.uk
The British Library's latest Annual Report and Accounts : 
www.bl.uk/aboutus/annrep/index.html
Help the British Library conserve the world's knowledge. Adopt a Book. 
www.bl.uk/adoptabook
The Library's St Pancras site is WiFi - enabled
*
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
postmas...@bl.uk : The contents of this e-mail must 
not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
*
Think before you print


RE: Query redg : diacritics in keyword search

2018-03-29 Thread Paul, Lulu
Thanks Peter, Charlie, Shawn
Makes perfect sense now. I had missed out the tokenizer from index, was present 
only in the query. Got rid of the preserveOriginal.

Thanks & Best Regards,
Lulu Paul

-Original Message-
From: Shawn Heisey [mailto:apa...@elyograg.org]
Sent: 29 March 2018 15:21
To: solr-user@lucene.apache.org
Subject: Re: Query redg : diacritics in keyword search

On 3/29/2018 5:02 AM, Paul, Lulu wrote:
> The keyword search Carré  returns values Carré and Carre (this works
> well as I added the tokenizer  class="solr.ASCIIFoldingFilterFactory" preserveOriginal="true"/> in
> the schema config to enable returning of both sets of values)
>
> Now looks like we want Carre to return both Carré and Carre (and this dosen’t 
> work. Solr only returns Carre) – any ideas on how this scenario can be 
> achieved?

Charlie Hull has hit the nail on the head regarding searching.  I actually 
would remove the preserveOriginal flag from that filter.  If the filter is run 
at both index and query time, you don't need preserveOriginal.

If you're talking about what's displayed in your search results, that is 
completely unaffected by analysis.  Analysis only affects queries and the data 
that goes into the 'indexed="true"' part of the index.  Search
*results* are almost always exactly what was sent to Solr.

There is UpdateProcessor functionality that can sit between the values sent to 
Solr and what actually goes into stored/indexed/docValues. Things that happen 
during update processing ARE visible in search results.

https://lucene.apache.org/solr/guide/6_6/update-request-processors.html

Thanks,
Shawn



**
Experience the British Library online at www.bl.uk<http://www.bl.uk/>
The British Library’s latest Annual Report and Accounts : 
www.bl.uk/aboutus/annrep/index.html<http://www.bl.uk/aboutus/annrep/index.html>
Help the British Library conserve the world's knowledge. Adopt a Book. 
www.bl.uk/adoptabook<http://www.bl.uk/adoptabook>
The Library's St Pancras site is WiFi - enabled
*
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
postmas...@bl.uk<mailto:postmas...@bl.uk> : The contents of this e-mail must 
not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
*
Think before you print


Query redg : diacritics in keyword search

2018-03-29 Thread Paul, Lulu
Hi,

The keyword search Carré  returns values Carré and Carre (this works well as I 
added the tokenizer  in the schema config to enable returning of both sets 
of values)

Now looks like we want Carre to return both Carré and Carre (and this dosen’t 
work. Solr only returns Carre) – any ideas on how this scenario can be achieved?

Thanks & Best Regards,
Lulu Paul



**
Experience the British Library online at www.bl.uk
The British Library’s latest Annual Report and Accounts : 
www.bl.uk/aboutus/annrep/index.html
Help the British Library conserve the world's knowledge. Adopt a Book. 
www.bl.uk/adoptabook
The Library's St Pancras site is WiFi - enabled
*
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
postmas...@bl.uk : The contents of this e-mail must 
not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
*
Think before you print


RE: query regarding Solr partial search

2018-03-28 Thread Paul, Lulu
Hi Erik



Below is the configuration in our solrconfig.xml. So, yes the query parser used 
is edismax



  

  

 

   explicit

   json

   true

   text

 

  



  



  explicit



  

  velocity

  browse

  layout



  

  edismax

  *:*

  10

  *,score



  

  on

  1



  





Thanks & Best Regards,

Lulu Paul





-Original Message-
From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
Sent: 27 March 2018 18:01
To: solr-user@lucene.apache.org
Subject: Re: query regarding Solr partial search



This is as much about your schema as it is about your query parser usage.   
What’s parsed_query say in your debug=true output?   What query parser are you 
using?   If edismax, check qf/pf/mm settings, etc.



Erik





> On Mar 27, 2018, at 9:56 AM, Paul, Lulu 
> <lulu.p...@bl.uk<mailto:lulu.p...@bl.uk>> wrote:

>

> Hi ,

>

> Below is my SOLR configuration (schema.xml) for a keyword search field.

>

>  stored="false" multiValued="true"/>

>

> 

>   dest="Keyword"/> 

>   source="CataloguerId" dest="Keyword"/>  dest="Keyword"/>

> 

>

>  positionIncrementGap="100">

>  

>

> words="stopwords.txt" />

>

>  

>  

>

> words="stopwords.txt" />

> ignoreCase="true" expand="true"/>

>

> preserveOriginal="true"/>

>  

> 

>

>

> · If I search for “Autograph full score”, Solr returns all items that 
> contains this string in exactly the same order.

>

> · If I search for “full Autograph score”, Solr doesn’t return any 
> results.

>

> The requirement is that regardless of the order of the string, Solr should 
> return all records which “CONTAIN” these 3 strings. Please advise how can 
> this be made possible?

>

> Thanks & Regards,

> Lulu

>

>




**
Experience the British Library online at www.bl.uk<http://www.bl.uk/>
The British Library’s latest Annual Report and Accounts : 
www.bl.uk/aboutus/annrep/index.html<http://www.bl.uk/aboutus/annrep/index.html>
Help the British Library conserve the world's knowledge. Adopt a Book. 
www.bl.uk/adoptabook<http://www.bl.uk/adoptabook>
The Library's St Pancras site is WiFi - enabled
*
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
postmas...@bl.uk<mailto:postmas...@bl.uk> : The contents of this e-mail must 
not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
*
Think before you print


query regarding Solr partial search

2018-03-27 Thread Paul, Lulu
Hi ,

Below is my SOLR configuration (schema.xml) for a keyword search field.







 
 
 



  



  
  





  



· If I search for “Autograph full score”, Solr returns all items that 
contains this string in exactly the same order.

· If I search for “full Autograph score”, Solr doesn’t return any 
results.

The requirement is that regardless of the order of the string, Solr should 
return all records which “CONTAIN” these 3 strings. Please advise how can this 
be made possible?

Thanks & Regards,
Lulu



**
Experience the British Library online at www.bl.uk
The British Library’s latest Annual Report and Accounts : 
www.bl.uk/aboutus/annrep/index.html
Help the British Library conserve the world's knowledge. Adopt a Book. 
www.bl.uk/adoptabook
The Library's St Pancras site is WiFi - enabled
*
The information contained in this e-mail is confidential and may be legally 
privileged. It is intended for the addressee(s) only. If you are not the 
intended recipient, please delete this e-mail and notify the 
postmas...@bl.uk : The contents of this e-mail must 
not be disclosed or copied without the sender's consent.
The statements and opinions expressed in this message are those of the author 
and do not necessarily reflect those of the British Library. The British 
Library does not take any responsibility for the views of the author.
*
Think before you print