Hi,
I am trying to update the value of one field in an existing document, and it
throws me the exception given below.
For the update, I am using my own update handler which created a
SolrInputDocument from and Existing Solr Document.
I am using Solr6.x built from the source code obtained from g
2016 14:02
To: solr-user@lucene.apache.org
Subject: Re: Issue with updating existing document (Solr-6.x/7.0)
On 4/5/2016 6:07 AM, Rohana Rajapakse wrote:
> I am trying to update the value of one field in an existing document, and it
> throws me the exception given below.
> For the update
Hi,
Can someone please tell me how to create a temporary Solr server
programmatically for the use of Unit Tests? I was using EmbeddedSolrServer in
Solr 4.x. How do you do thi in Solr 6.x?
Thanks in advance for any help,
Rohana
Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL
eProcessorTest.java:140)
at
com.gossinteractive.solr.DocPhraseUpdateProcessorTest.setUp(DocPhraseUpdateProcessorTest.java:98)
...
-Original Message-
From: Shawn Heisey [mailto:apa...@elyograg.org]
Sent: 08 April 2016 14:35
To: solr-user@lucene.apache.org
Subject: Re: EmbeddedSolr for unit tests in
]
Sent: 08 April 2016 16:46
To: solr-user@lucene.apache.org
Subject: Re: EmbeddedSolr for unit tests in Solr 6
On 4/8/2016 7:51 AM, Rohana Rajapakse wrote:
> Thanks. I know it exists, but don't know how to use it.
>
> I am trying to use EmbeddedSolrServer(Path solrHome, String
>
man...@gmail.com> wrote:
> Please use MiniSolrCloudCluster instead of EmbeddedSolrServer for
> unit/integration tests.
>
> On Mon, Apr 11, 2016 at 2:26 PM, Rohana Rajapakse <
> rohana.rajapa...@gossinteractive.com> wrote:
>
> > Thanks Shawn,
> >
> > I am
SolrCloud cluster in your
own application for testing. It is available in the solr-test-framework
artifact.
On Tue, Apr 12, 2016 at 4:31 PM, Rohana Rajapakse <
rohana.rajapa...@gossinteractive.com> wrote:
> Please note that I am not writing unit tests for testing classes in Solr.
> I need
Can someone give a sample code snippet to create MiniSolrCloudCluster from a
separate java application (outside of solr codebase). Wants to know dependency
jars and config files you need.
Thanks
Rohana
Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL.
Company Registration N
cene.apache.org
Subject: Re: MiniSolrCloudCluster usage in solr 7.0.0
On 4/14/2016 2:01 AM, Rohana Rajapakse wrote:
> Can someone give a sample code snippet to create MiniSolrCloudCluster from a
> separate java application (outside of solr codebase). Wants to know
> dependency jars and c
java.nio.file.InvalidPathException:java.nio.file.InvalidPathException: Illegal
char <:> at index 4: hdfs:\\myserver:9000\solr
It doesn't like the colon. I have tried starting solr on windows command line
with:
bin/solr start -Dsolr.directoryFactory=HdfsDirectoryFactory
-Dsolr.lock.type=hd
---
From: Shawn Heisey [mailto:apa...@elyograg.org]
Sent: 15 April 2016 21:01
To: solr-user@lucene.apache.org
Subject: Re: MiniSolrCloudCluster usage in solr 7.0.0
On 4/14/2016 8:32 AM, Rohana Rajapakse wrote:
> I have added few dependency jars into my project. There are no compilation
> er
.0.0
On 4/14/2016 8:32 AM, Rohana Rajapakse wrote:
> I have added few dependency jars into my project. There are no compilation
> errors or ClassNotFound exceptions, but Zookeeper exception "
> KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for
> /solr/solr.x
2016 21:01
To: solr-user@lucene.apache.org
Subject: Re: MiniSolrCloudCluster usage in solr 7.0.0
On 4/14/2016 8:32 AM, Rohana Rajapakse wrote:
> I have added few dependency jars into my project. There are no compilation
> errors or ClassNotFound exceptions, but Zookeeper exception "
&
Thanks for Shawn Heisey and Chris Hostetter for your support. Finally I got it
working. As you both pointed out, for the time being, I will start with an
empty baseDir.
Best,
Rohana
-Original Message-
From: Rohana Rajapakse [mailto:rohana.rajapa...@gossinteractive.com]
Sent: 19 April
Hi,
Is it possible to make http requests (e.g. from cURL) to an active/running
MiniSolrCloudCluster?
One of my existing projects use http requests to an EmbeddedSolrServer. Now I
am migrating to Solr-6/7 and trying to use MiniSolrCloudCluster. I have got a
MiniSolrCloudCluster up and running,
o: solr-user@lucene.apache.org
Subject: Re: http request to MiniSolrCloudCluster
Hi Rohana,
What error messages do you get from curl? MiniSolrCloudCluster just runs
jetty, so you ought to be able to talk to it over HTTP.
Alan Woodward
www.flax.co.uk
On 12 May 2016, at 09:36, Rohana Rajapakse wro
ges do you get from curl? MiniSolrCloudCluster just runs
jetty, so you ought to be able to talk to it over HTTP.
Alan Woodward
www.flax.co.uk
On 12 May 2016, at 09:36, Rohana Rajapakse wrote:
> Hi,
>
> Is it possible to make http requests (e.g. from cURL) to an active/running
>
cluster is running properly? Probably worth checking its
logs to make sure Solr has started correctly?
Alan Woodward
www.flax.co.uk
On 12 May 2016, at 12:48, Rohana Rajapakse wrote:
> Wait.
> With correct port, curl says : "curl: (52) Empty reply from server"
>
>
&
ion=status HTTP/1.1
> User-Agent: curl/7.33.0
> Host: 127.0.0.1:23052
> Accept: */*
>
* Empty reply from server
* Connection #0 to host 127.0.0.1 left intact
curl: (52) Empty reply from server
-Original Message-----
From: Rohana Rajapakse [mailto:rohana.rajapa...@gossinteractive
0x2a zxid:0x2c txntype:-1
reqpath:n/a Error Path:/solr/aliases.json Error:KeeperErrorCode = NodeExists
for /solr/aliases.json
...
-Original Message-
From: Shawn Heisey [mailto:apa...@elyograg.org]
Sent: 13 May 2016 13:54
To: solr-user@lucene.apache.org
Subject: Re: http request to MiniS
pa...@elyograg.org]
: Sent: 13 May 2016 13:54
: To: solr-user@lucene.apache.org
: Subject: Re: http request to MiniSolrCloudCluster
:
: On 5/13/2016 2:26 AM, Rohana Rajapakse wrote:
: > Hmmm. I now get the following errors when trying to access my Mini cluster
over http:
: >
: > 09:13:1
correct way to do
this.
E.g. The following cURL command works with Jeetty port that solr is running,
but not with zookeeper port:
$curl -v -i -X POST http://127.0.0.1:45548/solr/admin/cores?action=status
Rohana
-Original Message-
From: Rohana Rajapakse [mailto:rohana.rajapa
QueryResponse class's _spellResponse is not populated. The following two lines
worked in Solr-4.x, but Solr-6/7
SolrClient server = new HttpSolrClient();
QueryResponse response = server.query(new
SolrQuery("bus").setParam("spellcheck", "true")); //this returns results
SpellCheckResponse scr =
23 matches
Mail list logo