q=*:*&fq=%7B!geofilt%7D&sfield=latlong&pt=-6.08165,145.8612430&d=100&wt=json&fq=timestamp:[151890840%20TO%20151891200]&fl=*,_dist_:geodist()>
>>
>> But I'm not sure how to build the SolrJ equivalent of this query using
>> SolrQuery.
On 2/19/2018 6:44 AM, Aakanksha Gupta wrote:
http://localhost:8983/solr/geoloc/select/?q=*:*&fq={!geofilt}&sfield=latlong&pt=-6.08165,145.8612430&d=100&wt=json&fq=timestamp:[151890840%20TO%20151891200]&fl=*,_dist_:geodist()
But I'm not sure how to b
Hi all,
I'm looking for some help with SolrJ for querying spatial data. I have the
following URL query working fine, where it returns the results which are
within 100km radius from the 'pt' provided in the URL and where the
timestamp field is between the two timestamps provided in t
Yeah, sometimes the sugar-methods/classes in SolrJ lag a bit behind
the collections API. but at root about all these classes do is create
a ModifiableSolrParams with all the params you'd specify and make an
http call via the AsyncCollectionAdminRequest.process command last I
knew.
Best,
Hi,
I'm unable to find how I can do a MODIFYCOLLECTION via Solrj. I would
like to change the replication factor of a collection but can't find it
in the Solrj API. Is that not supported?
regards,
Hendrik
atable" or not. This
validation is getting failed and following error is thrown.
"org.apache.http.client.NonRepeatableRequestException: Cannot retry request
with a non-repeatable request entity."
I am able to make POST call by directly calling apache http client library
with the fol
Thanks I think we'll go for extractOnly cause using a recent version of
Tika causes to many dependency issues.
On Thu, Feb 1, 2018 at 12:25 PM, Emir Arnautović <
emir.arnauto...@sematext.com> wrote:
> Hi Joris,
> I doubt that you can do that. That would require extracting request
> handler to sup
Hi Joris,
I doubt that you can do that. That would require extracting request handler to
support incremental updating and I don’t thing it does. In order to update
existing doc, you would have to extract content and send it as incrementa
update request.
You can still use extracting handler to ex
Hi
I'd like to update a single field of an existing document with the content
of a file.
My current setup looks like this:
final File file = new File("path to file");
ContentStreamUpdateRequest req = new
ContentStreamUpdateRequest("/update/extract");
req.addContentStream(new ContentStrea
Hi
I'm using Solrj 6.6.1 found in spring-data-solr 3.0.3.RELEASE, solr is 7.2.1
.
I'm currently able to upload solrDocument via spring-data but would like to
add the equivalent to
tika new AutoDetectParser().parse(stream, new BodyContentHandler(-1),
new MetaData())
as a con
Eddy
Maybe your request is getting through twice. Check your logs to see.
Cheers -- Rick
On January 31, 2018 5:59:53 AM EST, ddramireddy wrote:
>We are currently deploying Solr in war mode(Yes, recommendation is not
>war.
>But this is something I can't change now. Planned for future). I am
>setti
We are currently deploying Solr in war mode(Yes, recommendation is not war.
But this is something I can't change now. Planned for future). I am setting
authentication for solr. As Solr provided basic authentication is not
working in Solr 6.4.2, I am setting up digest authentication in tomcat for
So
it? I have come across one such project
> <https://github.com/inoio/solrs> but wondering is there anything provided
> by solrj?
>
> Thanks
.org/jira/browse/SOLR-7442
>
> HTTPClient will have http/2 support in version 5.0 -- but only in the
> async client, not the client that SolrJ currently uses.
>
> Parts of the 5.0 version are in alpha at the moment, one part is in
> beta. I do not have any information about when
, not the client that SolrJ currently uses.
Parts of the 5.0 version are in alpha at the moment, one part is in
beta. I do not have any information about when it will be fully
released as a stable version. We can't fully implement a new SolrJ that
uses the new HC version until they officia
NAK AGRAWAL
> wrote:
> >
> > Yes, I am talking about event driven way of calling solr, so that I can
> > write pure async web service. Does SolrJ provides support for
> non-blocking
> > calls?
> >
> > On Wed, Jan 3, 2018 at 6:22 PM, Hendrik Haddorp >
&g
n 3, 2018, at 5:11 AM, RAUNAK AGRAWAL wrote:
>
> Yes, I am talking about event driven way of calling solr, so that I can
> write pure async web service. Does SolrJ provides support for non-blocking
> calls?
>
> On Wed, Jan 3, 2018 at 6:22 PM, Hendrik Haddorp
> wrote:
>
>&
talking about event driven way of calling solr, so that I can
> write pure async web service. Does SolrJ provides support for non-blocking
> calls?
>
> On Wed, Jan 3, 2018 at 6:22 PM, Hendrik Haddorp
> wrote:
>
> > There is asynchronous and non-blocking. If I use 100 threads to
Yes, I am talking about event driven way of calling solr, so that I can
write pure async web service. Does SolrJ provides support for non-blocking
calls?
On Wed, Jan 3, 2018 at 6:22 PM, Hendrik Haddorp
wrote:
> There is asynchronous and non-blocking. If I use 100 threads to perform
> ca
There is asynchronous and non-blocking. If I use 100 threads to perform
calls to Solr using the standard Java HTTP client or SolrJ I block 100
threads even if I don't block my program logic threads by using async
calls. However if I perform those HTTP calls using a non-blocking HTTP
c
e tried calling solr in non-blocking mode or is
>there is a way to do it? I have come across one such project
><https://github.com/inoio/solrs> but wondering is there anything
>provided
>by solrj?
>
>Thanks
--
Sorry for being brief. Alternate email is rickleir at yahoo dot com
o/solrs> but wondering is there anything provided
> by solrj?
>
> Thanks
>
--
http://www.the111shift.com
ded
by solrj?
Thanks
An option is actually to do an explicit
ClusterStatus.getClusterStatus().process(solr, collectionName) request
and then get the config set name out of the result. This is a bit
cumbersome but works.
On 12.11.2017 19:54, Hendrik Haddorp wrote:
Hi,
the SolrJ DocCollection object seems to
Hi,
the SolrJ DocCollection object seems to contain all information from the
cluster status except the name of the config set.
Is that a bug or on purpose?
The reason might be that everything in the DocCollection object
originates from the state.json while the config set name is stored in
arkar" :
Hi Martin,
I tested the same application SolrJ code on my system, it worked just fine
on Solr 6.6.x. My Solrclient is "CloudSolrJClient", which I think doesn't
make any difference. Can you show the response and field declarations if
you are cont
Hi Martin,
I tested the same application SolrJ code on my system, it worked just fine
on Solr 6.6.x. My Solrclient is "CloudSolrJClient", which I think doesn't
make any difference. Can you show the response and field declarations if
you are continuously facing the issue.
Amri
Hello,
I’m trying to Update a field in a document via SolrJ. Unfortunately, while the
field itself is updated correctly, values of some other fields are removed.
The code looks like this:
SolrInputDocument updateDoc = new SolrInputDocument();
updateDoc.addField("id", "1234"
> Sent: Thursday 19th October 2017 13:45
> To: solr-user@lucene.apache.org
> Subject: RE: SolrJ 6.6.0 Connection pool shutdown now with stack trace
>
> Hello,
>
> We are having this problem again, now it affects the front-end too, the logs
> are littered with Zookeeper co
Hello,
We are having this problem again, now it affects the front-end too, the logs
are littered with Zookeeper connection log lines at WARN level.
Is it expected that i have to deal with this problem myself? Isn't SolrJ or
HTTPClient even going to guarantee me that they will handle under
Hi Bernd,
I guess it is not exposed in Solrj. Maybe for good reason - it is rarely good
to call it. You might better set reclaimDeletesWeight in your merge config and
keep number of deleted docs under control that way.
Regards,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
ing.
>>
>> HTH,
>> Emir
>> --
>> Monitoring - Log Management - Alerting - Anomaly Detection
>> Solr & Elasticsearch Consulting Support Training - http://sematext.com/
>>
>>
>>
>>> On 4 Oct 2017, at 10:38, Bernd Fehling
>>> wrote:
&
t 10:38, Bernd Fehling
>> wrote:
>>
>> A simple question about solrj (Solr 6.4.2),
>>
>> how to update documents with expungeDeletes true/false?
>>
>> In org.apache.solr.client.solrj.SolrClient there are many add,
>> commit, delete, optimize, ... b
.
HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/
> On 4 Oct 2017, at 10:38, Bernd Fehling wrote:
>
> A simple question about solrj (Solr 6.4.2),
>
> how to update documents with
A simple question about solrj (Solr 6.4.2),
how to update documents with expungeDeletes true/false?
In org.apache.solr.client.solrj.SolrClient there are many add,
commit, delete, optimize, ... but no "update".
What is the best way to "update"?
- just "add" the
}
>>
>>System.out.println("Total tuples retunred "+tuples.size());
>>
>>
>> ---
>> private static String getClause() {
>> String clause = "select(search(gettingstarted,\n" +
>> "q=*:* NOT
t;select(search(gettingstarted,\n" +
"q=*:* NOT personal_email_s:*,\n" +
"fl=\"id,business_email_s\",\n" +
"sort=\"business_email_s asc\"),\n" +
"id,\n" +
"busi
println("Total tuples retunred "+tuples.size());
---
private static String getClause() {
String clause = "select(search(gettingstarted,\n" +
"q=*:* NOT personal_email_s:*,\n" +
"fl=\"id,business_email_s\",\n&quo
Hi,
I'm trying to use the streaming API via SolrJ but have some trouble with
the documentation and samples. In the reference guide I found the below
example in
http://lucene.apache.org/solr/guide/6_6/streaming-expressions.html.
Problem is that "withStreamFunction" does no
>
> -Original Message-
> From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
> Sent: Tuesday, 26 September 2017 8:49 p.m.
> To: solr-user@lucene.apache.org
> Subject: Re: DocValues, Long and SolrJ
>
> Hi Phil,
> Are you saying that you get this error when you
ception ex) {
}
// start the index rebuild
-Original Message-
From: Phil Scadden [mailto:p.scad...@gns.cri.nz]
Sent: Wednesday, 27 September 2017 10:04 a.m.
To: solr-user@lucene.apache.org
Subject: RE: DocValues, Long and SolrJ
I get it after I have deleted the index with a delete query and start
[mailto:emir.arnauto...@sematext.com]
Sent: Tuesday, 26 September 2017 8:49 p.m.
To: solr-user@lucene.apache.org
Subject: Re: DocValues, Long and SolrJ
Hi Phil,
Are you saying that you get this error when you create fresh core/collection?
This sort of errors are usually related to schema being
Hi Phil,
Are you saying that you get this error when you create fresh core/collection?
This sort of errors are usually related to schema being changed after some
documents being indexed.
Thanks,
Emir
> On 25 Sep 2017, at 23:42, Phil Scadden wrote:
>
> I ran into a problem with indexing docume
I ran into a problem with indexing documents which I worked around by changing
data type, but I am curious as to how the setup could be made to work.
Solr 6.5.1 - Field type Long, multivalued false, DocValues.
In indexing with Solr, I set the value of field with:
Long accessLevel
Hi Vishal,
You can also check here:
https://lucene.apache.org/solr/guide/6_6/using-solrj.html#using-solrj You
can get enough information about how to use it.
Kind Regards,
Furkan KAMACI
On Thu, Sep 14, 2017 at 1:25 PM, Leonardo Perez Pulido <
leoperezpul...@gmail.com> wrote:
> Hi,
&
Hi,
This may help:
https://github.com/leoperezpulido/lucene-solr/tree/master/solr/solrj/src/test/org/apache/solr/client/solrj
Regards.
On Thu, Sep 14, 2017 at 4:21 AM, Vishal Srivastava wrote:
> Hi,
> I'm a beginner at SolrJ , and am currently looking to implement and
> integra
Hi,
I'm a beginner at SolrJ , and am currently looking to implement and
integrate the same at my current organisation using Java .
After a lot of research, I failed to find any good material / examples for
SolrJ 's Java library that I could use as reference.
Please suggest some goo
On 8/4/2017 8:59 AM, Sanders, Marshall (CAI - Atlanta) wrote:
> Is there a way to easily set/get a cookie from a solrj request/response or an
> example of this someone can share?
>
> The types of queries our application uses could greatly benefit from
> stickying our applicatio
Is there a way to easily set/get a cookie from a solrj request/response or an
example of this someone can share?
The types of queries our application uses could greatly benefit from stickying
our application to a specific solr instance and I'd like to read the load
balancer cookie and
external HttpClient is used, the user code would need to shut it down
for this to happen. Recent versions of SolrJ are using
CloseableHttpClient, which will shut down the connection pool if close()
is called.
It's looking like this error has happened because the HttpClient object
inside the sol
times, briefly, very high. Usually very low. These
specific checks are executed in order, not concurrently.
Thanks,
Markus
-Original message-
> From:Susheel Kumar
> Sent: Tuesday 18th July 2017 15:17
> To: solr-user@lucene.apache.org
> Subject: Re: SolrJ 6.6.0 Connection pool
> > To: solr-user@lucene.apache.org
> > Subject: Re: SolrJ 6.6.0 Connection pool shutdown now with stack trace
> >
> > Do you see any errors etc. in solr.log during this time?
> >
> > On Tue, Jul 18, 2017 at 7:10 AM, Markus Jelsma <
> markus.jel...@openind
Hello Susheel,
No, nothing at all. I've check all six nodes, they are clean.
Thanks,
Markus
-Original message-
> From:Susheel Kumar
> Sent: Tuesday 18th July 2017 14:30
> To: solr-user@lucene.apache.org
> Subject: Re: SolrJ 6.6.0 Connection pool shutdown now
r.client.solrj.impl.HttpSolrClient.request(
> HttpSolrClient.java:268)
> at org.apache.solr.client.solrj.impl.LBHttpSolrClient.
> doRequest(LBHttpSolrClient.java:447)
> ... 24 more
>
> So, to summarize, we have a program checking presence of documents in Solr
> using getById() and we do
this exception to bubble up, we want SolrJ to
restore the connection pool just as CloudSolrClient would move on to another
node if one went down in the mean time.
Is this possible? How?
Many thanks,
Markus
-Original message-
> From:Markus Jelsma
> Sent: Thursday 29th June 2017 16:38
e 2017 15:38
> To: solr-user
> Subject: Re: SolrJ 6.6.0 Connection pool shutdown
>
> One thing to check is whether there is a firewall between the client
> and the server. They - sometimes - cut the silent connections in the
> _middle_ (at the firewall). The usual solution is kee
#x27;ll let it print the stack trace and get back if it happens again.
>
> Thanks,
> Markus
>
> -Original message-
>> From:Shawn Heisey
>> Sent: Tuesday 27th June 2017 23:02
>> To: solr-user@lucene.apache.org
>> Subject: Re: SolrJ 6.6.0 Connection pool shutdown
&
t; Sent: Tuesday 27th June 2017 23:02
> To: solr-user@lucene.apache.org
> Subject: Re: SolrJ 6.6.0 Connection pool shutdown
>
> On 6/27/2017 6:50 AM, Markus Jelsma wrote:
> > We have a proces checking presence of many documents in a collection, just
> > a simple client.g
ServerException:
> java.lang.IllegalStateException: Connection pool shut down
>
> Then, as suddenly as it appeared, it's gone again a no longer a problem. I
> would expect SolrJ not to throw this but to wait until it the connection
> pool, or whatever mechanism is there, to recover.
>
> Did i
suddenly as it appeared, it's gone again a no longer a problem. I
would expect SolrJ not to throw this but to wait until it the connection pool,
or whatever mechanism is there, to recover.
Did i miss a magic parameter for SolrJ?
Thanks,
Markus
Mikhail Khludnev provided the workaround in
https://issues.apache.org/jira/browse/SOLR-6096:
So, far the workaround is to nest empty child w/o fields or with id only
field.
-- It works
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrJ-How-to-add-a-blocked-document
osed
> when the application exits.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Fri, Jun 16, 2017 at 2:17 AM, Aman Deep Singh <
> amandeep.coo...@gmail.com&
red by multiple requests and should be closed
when the application exits.
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, Jun 16, 2017 at 2:17 AM, Aman Deep Singh
wrote:
> Hi,
> I think their is a possible bug in Solrj version 6.6.0 ,as streaming is
not
> workin
tiple requests and should be closed
when the application exits.
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, Jun 16, 2017 at 2:17 AM, Aman Deep Singh
wrote:
> Hi,
> I think their is a possible bug in Solrj version 6.6.0 ,as streaming is not
> working
> as
Hi,
I think their is a possible bug in Solrj version 6.6.0 ,as streaming is not
working
as i have a piece of code
public Set getAllIds(String requestId, String field) {
LOG.info("Now Trying to fetch all the ids from SOLR for request Id
{}", requestId);
Map props = n
Hi,
I am trying index records into solr-5.3.1 using solrj ‘addBeans’, is there a
way to specify ‘*splitBy*’ in our POJO ?
Here is my data-config.xml field (which helps DB to Search mappings)
definition
How to achieve this ‘splitBy’ in my POJO ?
@Field(value=" search-field")
privat
David,
The articles by Yonick were written around the time that he and others
were developing the features. This one
http://yonik.com/solr-nested-objects/ says 5.3 and later. Considering
that development and bugfixes spanned several versions, you would do
well to test your configuration with
Hi Rick,
Adding to this subject, I do appreciate you pointing us to these
articles, but I'm curious about how much of these take into account the
latest versions of Solr (ie: +6.5 and 7) given the JSON split
capabilities, etc. I know that is just on the indexing side so the
searches may be th
I would ask if you need nested documents at all. If you can denormlize
the docs it's often much easier. In your case I can think of several
options:
1> just index a separate field for each subject. Solr handles a couple
of hundred fields with ease.
student id : 123
student name : john
maths: 90
Eng
Prasad,
Gee, you get confusion from a google search for:
nested documents
site:mail-archives.apache.org/mod_mbox/lucene-solr-user/
https://www.google.ca/search?safe=strict&q=nested+documents+site%3Amail-archives.apache.org%2Fmod_mbox%2Flucene-solr-user%2F&oq=nested+documents+site%3Amail-a
Results option .
But not able to get the child for parent match.
Please help me out in this regard.Thanks in advance.
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-handle-nested-documents-in-solr-SolrJ-tp4336861.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
I'm looking for some advice on specific issue that is holding us back.
I'm trying to create a custom RequestHandler with the Solr api (solrj) that
makes a query call back to the server.
I'm not finding any good, run-able examples on-line. Possibly I'm
approaching this wro
Reformatting for readability:
Hi,
I'm looking for some advice on specific issue that is holding us back.
I'm trying to create a custom RequestHandler with the Solr api (solrj) that
makes a query call back to the server.
I'm not finding any good, run-able examples of this on-lin
Hi,I'm looking for some advice on specific issue that is holding usback.
I'mtrying to create a custom RequestHandler with the Solr api (solrj)that makes
a query call back to the server.
I'mnot finding any good, run-able examples of this on-line. Possibly
I'mapproaching th
update the parent document again with some new child documents, it
will update Parent2 correctly, but still leave/keep Parent1.
This issue is talked in some jiras like
https://issues.apache.org/jira/browse/SOLR-6096.
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrJ-Ho
I workaround this issue by always deleting first, but I am wondering
> whether there is better approach.
>
> Thanks
> Jeffery Yuan
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/SolrJ-How-to-add-a-blocked-document-without-child-doc
issue by always deleting first, but I am wondering
whether there is better approach.
Thanks
Jeffery Yuan
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrJ-How-to-add-a-blocked-document-without-child-documents-tp4335006p4335195.html
Sent from the Solr - User mailing
I can avoid the duplicate parent documents?
> How could I add a blocked document without child documents?
>
> - I can workaround this by delete first before add new documents but the
> performance would suffer
>
> Thanks a lot for your help and response.
>
>
>
>
> -
ent documents?
How could I add a blocked document without child documents?
- I can workaround this by delete first before add new documents but the
performance would suffer
Thanks a lot for your help and response.
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrJ-How-to-
Hi. I'm working on a Java application that takes some object metadata and
inputs it using Solrj. I'm getting a bad return type error message. Here's my
current code:
[cid:image004.png@01D2C58B.8A6708E0]
And here's the error I'm receiving:
[cid:image005.png@01D2C58D.
Minor correction :
params.add("f.A.facet.range.gap","8") ;
On 20-Apr-2017 5:10 PM, "Naman Asati" wrote:
> Hi
>
> I am using Solr 6.3.0 with Fusion 1.2.8.
>
> I am having an issue doing range faceting INSIDE the pivot faceting using
> the solr-so
Hi
I am using Solr 6.3.0 with Fusion 1.2.8.
I am having an issue doing range faceting INSIDE the pivot faceting using
the solr-solrj-5.0.0.jar.
Let us consider 3 fields A, B and C.
I want to do a range facet for A and pivot faceting of (B, C, Range facet
of A).
Code :
ModifiableSolrParams
Thank you Joel; exactly what I needed! Just had to change it to use
CloudSolrStream instead.
Much appreciated!
-Joe
On 4/18/2017 3:21 PM, Joel Bernstein wrote:
Are you trying to send a streaming expression using SolrJ?
If you are you can send the expression with the SolrStream. for example
paramsLoc in my last email should be params
Joel Bernstein
http://joelsolr.blogspot.com/
On Tue, Apr 18, 2017 at 3:21 PM, Joel Bernstein wrote:
> Are you trying to send a streaming expression using SolrJ?
>
> If you are you can send the expression with the SolrStream. for example:
&
Are you trying to send a streaming expression using SolrJ?
If you are you can send the expression with the SolrStream. for example:
params = new ModifiableSolrParams();
params.set("expr", expr);
params.set("qt", "/stream");
SolrStream stream = new So
Hi All - any examples of using solrJ and streaming expressions
available? Like calling UpdateStream from solrJ?
Thank you!
-Joe
I'm using Solr 6.4.2.
The JARs from SolrJ which I'm using are also from Solr 6.4.2.
Regards,
Edwin
On 18 April 2017 at 08:05, Noble Paul wrote:
> I tested this with the
>
> following code
>
> SolrRequest req = new QueryRequest(new SolrQue
System.out.println("successful"+ Utils.toJSON(res.asMap(5)));
seems to work for me.
which version of Solr and SolrJ are you using
On Sun, Apr 16, 2017 at 11:40 AM, Zheng Lin Edwin Yeo
wrote:
> Ok, thank you.
>
> Regards,
> Edwin
>
> On 15 April 2017 at 08:05, Noble Paul wrote:
; > Problem accessing /solr/testing/update. Reason:
> > > > require authentication
> > > >
> > > >
> > > >
> > > > at
> > > > org.apache.solr.client.solrj.impl.HttpSolrClient.
> > > exec
ache.solr.client.solrj.impl.HttpSolrClient.
> > executeMethod(HttpSolrClient.java:578)
> > > at
> > > org.apache.solr.client.solrj.impl.HttpSolrClient.request(
> > HttpSolrClient.java:279)
> > > at
> > > org.apache.solr.client.solrj.impl.HttpSolrClient.re
79)
> > at
> > org.apache.solr.client.solrj.impl.HttpSolrClient.request(
> HttpSolrClient.java:268)
> > at org.apache.solr.client.solrj.SolrRequest.process(
> SolrRequest.java:149)
> > at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:484)
> > at or
te:
>
>> can u paste the stacktrace here
>>
>> On Tue, Apr 11, 2017 at 1:19 PM, Zheng Lin Edwin Yeo
>> wrote:
>> > I found from StackOverflow that we should declare it this way:
>> > http://stackoverflow.com/questions/43335419/using-
>> basicauth-with-so
at we should declare it this way:
> > http://stackoverflow.com/questions/43335419/using-
> basicauth-with-solrj-code
> >
> >
> > SolrRequest req = new QueryRequest(new SolrQuery("*:*"));//create a new
> > request object
> > req.setBasicAuthCredenti
can u paste the stacktrace here
On Tue, Apr 11, 2017 at 1:19 PM, Zheng Lin Edwin Yeo
wrote:
> I found from StackOverflow that we should declare it this way:
> http://stackoverflow.com/questions/43335419/using-basicauth-with-solrj-code
>
>
> SolrRequest req = new QueryReques
Toolbox VM's host OS. If I go to the VM's IP which is
> 192.168.99.100, I can load the admin UI and do basic operations that are
> written to go against that IP and port (like querying, schema editor,
> manually adding documents, etc.)
>
> However, when I try to run code
docker,
> > just because the docker instances were referred by ip addresses I cannot
> > access with SolrJ.
> >
> > I avoided this problem referring each docker instance via a hostname
> > instead of ip address.
> >
> > Docker-compose is a great help to hav
disclaimer I'm the author of https://github.com/freedev/
> solrcloud-zookeeper-docker
>
> I had same problem when I tried to create a cluster SolrCloud with docker,
> just because the docker instances were referred by ip addresses I cannot
> access with SolrJ.
>
> I avoide
I found from StackOverflow that we should declare it this way:
http://stackoverflow.com/questions/43335419/using-basicauth-with-solrj-code
SolrRequest req = new QueryRequest(new SolrQuery("*:*"));//create a new
request object
req.setBasicAuthCredentials(userName, password);
solrClie
Hi Mike
disclaimer I'm the author of https://github.com/freedev/
solrcloud-zookeeper-docker
I had same problem when I tried to create a cluster SolrCloud with docker,
just because the docker instances were referred by ip addresses I cannot
access with SolrJ.
I avoided this problem refe
Hi,
I have just set up the Basic Authentication Plugin in Solr 6.4.2 on
SolrCloud, and I am trying to modify my SolrJ code so that the code can go
through the authentication and do the indexing.
I tried using the following code from the Solr Documentation
https://cwiki.apache.org/confluence
301 - 400 of 2761 matches
Mail list logo