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

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":{ "class":"solr.PathHi

Re: schema-api: modifying schema in xml format

2018-04-18 Thread Arturas Mazeika
Hi Steve, it is reasonable that schema api understand the commands only JSON. Great that you'll update the ref guide. Thanks for taking care of it. Nice of you :-) Cheers, Arturas On Wed, Apr 18, 2018 at 3:27 PM, Steve Rowe wrote: > Hi Arturas, > > The Schema API only understands commands in

Re: schema-api: modifying schema in xml format

2018-04-18 Thread Steve Rowe
Hi Arturas, The Schema API only understands commands in JSON. I looked through the ref guide page, and I’m surprised that this isn’t stated directly; I’ll try to fix that. -- Steve www.lucidworks.com > On Apr 18, 2018, at 4:12 AM, Arturas Mazeika wrote: > > Hi solr-users, > > is it possibl

Re: Schema API: Modify Unique Key

2017-03-28 Thread nabil Kouici
as unique key (uniqueness is OK) and do this kind of update. Regards,Nabil.  De : Shawn Heisey À : solr-user@lucene.apache.org Envoyé le : Lundi 27 mars 2017 17h00 Objet : Re: Schema API: Modify Unique Key On 3/27/2017 7:05 AM, nabil Kouici wrote: > We're going to use Sol

Re: Schema API: Modify Unique Key

2017-03-27 Thread Shawn Heisey
On 3/27/2017 7:05 AM, nabil Kouici wrote: > We're going to use Solr in our organization (under test) and we want > to set the primary key through schema API, which is not allowed today. > Is this function planned to be implemented in Solr? If yes, do you > have any idea in which version? Steve Ro

Re: Schema API: Modify Unique Key

2017-03-27 Thread Steve Rowe
Hi Nabil, There is an open JIRA issue to implement this functionality, but I haven’t had a chance to work on it recently: . Consequently, I’m not sure which release will have it. Patches welcome! -- Steve www.lucidworks.com > On Mar 27, 2017,

Re: Schema API

2016-04-30 Thread Hendrik Haddorp
Looks like I ran into the same as was discussed here: http://grokbase.com/t/lucene/solr-user/15c4nr1j48/solrcloud-1-server-1-configset-multiple-collections-multiple-schemas Would be nice if that would be changed in the future as it would make these setups much easier. On 29/04/16 20:07, Hendrik H

Re: Schema API, change the defaultoperator

2015-12-11 Thread Shawn Heisey
On 12/11/2015 8:02 AM, Yago Riveiro wrote: > I uploaded a schema.xml manualy with the defaultoperator configuration and > it's working. > > My problem is that my legacy application is huge and I can't go to all places > to add the q.op parameter. > > The solrconfig.xml option should be an optio

Re: Schema API, change the defaultoperator

2015-12-11 Thread Yago Riveiro
I uploaded a schema.xml manualy with the defaultoperator configuration and it's working. My problem is that my legacy application is huge and I can't go to all places to add the q.op parameter. The solrconfig.xml option should be an option. The q.op param defined in request handlers work

Re: Schema API, change the defaultoperator

2015-12-11 Thread Shawn Heisey
On 12/11/2015 4:23 AM, Yago Riveiro wrote: > How can I change the defaultoperator parameter through the schema API? The default operator and default field settings in the schema have been deprecated for quite some time, so I would imagine that you can't change them with the schema API -- they shou

Re: Schema API: add-field-type

2015-05-05 Thread Steve Rowe
Hi Steve, responses inline below: > On Apr 29, 2015, at 6:50 PM, Steven White wrote: > > Hi Everyone, > > When I pass the following: > http://localhost:8983/solr/db/schema/fieldtypes?wt=xml > > I see this (as one example): > > >date >solr.TrieDateField >0 >0 > > las

Re: Schema API synchronization question

2014-09-03 Thread Steve Rowe
The release vote has passed, the release packages are spreading out to the mirrors, and the announcement should appear in the next 12-24 hours. Steve www.lucidworks.com On Sep 2, 2014, at 11:56 PM, Matthias Broecheler wrote: > Yes, that is what we are seeing. Thanks for pointing me to the righ

Re: Schema API synchronization question

2014-09-02 Thread Matthias Broecheler
Yes, that is what we are seeing. Thanks for pointing me to the right issues to track. Where can I find out when 4.10 final is going to be released? Thanks, Matthias On Sat, Aug 30, 2014 at 9:26 PM, Erick Erickson wrote: > There have been some recent improvements in that area, what version of S

Re: Schema API synchronization question

2014-08-30 Thread Erick Erickson
There have been some recent improvements in that area, what version of Solr are you running? Is there any chance you could try with 4.10 when the final version is released? Or perhaps checkout/build the 4.10 release candidate? See, for instance, https://issues.apache.org/jira/browse/SOLR-6137 Sti

Re: [Schema API] EmbeddedSolrServer Test

2014-07-11 Thread Alessandro Benedetti
Thank you Chris, Exactly as you suggested I was looking into related classes to that one. Playing with : @BeforeClass > public static void init() throws Exception { > final SortedMap extraServlets = new > TreeMap(); > final ServletHolder solrRestApi = new ServletHolder("SolrRestApi", >

Re: [Schema API] EmbeddedSolrServer Test

2014-07-10 Thread Chris Hostetter
EmbeddedSolrServer is really just for dealing with embedded SolrCore objects. It doesn't have ay of the other HTTP related plumbing assocaited with it -- which is why it can't be used for replication and/or cloud features, let alone the RESTLet based endpoints. if you want to write a test tha