I’m using the following example on Lucidworks to use streaming expressions from
SolrJ:
https://lucidworks.com/post/streaming-expressions-in-solrj/
Problem is, when I run it inside a for loop, even the simplest expression
(echo) stops executing after about 5 iterations. I thought the underlying
On 2/15/2021 10:17 AM, Steven White wrote:
Yes, I have managed schema enabled like so:
true
cp-schema.xml
The reason why I enabled it is so that I can dynamically customize the
schema based on what's in the DB. So that I can add fields to the schema
dynamically.
A managed/m
Hi Steven,
Just a thought, from someone who never have used schema-less mode: Have you
considered using a regular schema file, with a bunch of dynamicField
definitions? Then you can for example define a dynamic boolean field like this:
Then, when you index the data, you can append "_b" to the
ata. Not only that,
> it
> > will set default values. For example, this call
> >
> > SolrInputDocument doc = new SolrInputDocument();
> > doc.addField("Company", "ACM company");
> >
> > Will create the following:
> >
> &
t
will set default values. For example, this call
SolrInputDocument doc = new SolrInputDocument();
doc.addField("Company", "ACM company");
Will create the following:
That SolrJ code does not make those changes to your schema. At least
not in the way y
lyzer will not be
used to name one).
It looks to me that the only way I can fix this is to first create the
field type first and then call addField() passing it the field I
just created. To that end, I cannot find a SolrJ API to create a field
type. Is that the case?
Steven.
On Sun, Feb 14
On 2/14/2021 9:00 AM, Steven White wrote:
It looks like I'm misusing SolrJ API SolrInputDocument.addField() thus I
need clarification.
Here is an example of what I have in my code:
SolrInputDocument doc = new SolrInputDocument();
doc.addField("MyFieldOne&qu
Hi everyone,
It looks like I'm misusing SolrJ API SolrInputDocument.addField() thus I
need clarification.
Here is an example of what I have in my code:
SolrInputDocument doc = new SolrInputDocument();
doc.addField("MyFieldOne", "some data");
doc.addField
Hi,
SolrJ doesn't have any purpose-made request class to change the
uniqueKey, afaict. However doing so is still possible (though less
convenient) using the "GenericSolrRequest" class, which can be used to
hit arbitrary Solr APIs.
If you'd like to see better support for t
Hi Steven,
AFAIK, SolrJ doesn't have built in request objects for the metrics
API. But you can still use the "GenericSolrRequest" class to hit any
Solr API:
e.g.
SolrParams params = new ModifiableSolrParams();
params.set("action", "list");
GenericSolrReque
Hello Steven,
I believe what you are looking for cannot be accessed using SolrJ (I didn't
really check though).
But you can easily access it either via the Collections APIs and/or the Metrics
API depending on what you need exactly.
See https://lucene.apache.org/solr/guide/8_4/cluster
Hi everyone,
Is there a SolrJ API that I can use to collect statistics data about Solr
(everything that I see on the dashboard if possible)?
I am in need to collect data about Solr instances, those same data that I
see on the dashboard such as swap-memory, jvm-memory, list of cores, info
about
Hi All,
I’m currently trying to change the uniqueKey of my Solr Cloud schema using
Solrj.
While creating new Fields and FieldDefinitions is pretty straight forward, I
struggle to find any solution to change the Unique Key field with Solrj.
Any advice here?
Best Regards,
Timo Gruen
s it doesn't seem to be the
> default.
> However I found a configuration not documented that needs to be set in the
> GzipHandler for it to work: inflateBufferSize.
>
> For SolrJ it still hacky to send gzip requests, maybe easier to use a regular
> http call..
>
>
You're right Matthew.
Jetty supports it for responses but for requests it doesn't seem to be the
default.
However I found a configuration not documented that needs to be set in the
GzipHandler for it to work: inflateBufferSize.
For SolrJ it still hacky to send gzip requests, maybe
jetty supports http gzip and I've added it to solr before in my own
installs (and submitted patches to do so by default to solr) but I
don't know about the handling for solrj.
IME compression helps a little, sometimes a lot, and never hurts.
Even the admin interface benefits a lot fr
Answering to myself on this one.
Solr uses Jetty 9.x which does not support compressed requests by itself
meaning, the application behind Jetty (that is Solr) has to decompress by
itself which is not the case for now.
Thus even without using SolrJ, sending XML compressed in GZIP to Solr (with
Hello,
I was wondering if someone ever had the need to send compressed (gzip) update
requests (adding/deleting documents), especially using SolrJ.
Somehow I expected it to be done by default, but didn't find any documentation
about it and when looking at the code it seems there is no opti
To expand on Shawn’s comment. There are a lot of built-in helper methods in
SolrJ, but
they all amount to setting a value in the underlying map of params, which you
can
do yourself for any parameter you could specify on a URL or cURL command.
For instance, SolrQuery.setStart(start) is just
On 12/3/2020 10:20 AM, Deepu wrote:
I am planning to use Term vector component for one of the use cases, as per
below solr documentation link solrj not supporting Term Vector Component,
do you have any other suggestions to use TVC in java application?
https://lucene.apache.org/solr/guide/8_4
Dear Community Members,
I am planning to use Term vector component for one of the use cases, as per
below solr documentation link solrj not supporting Term Vector Component,
do you have any other suggestions to use TVC in java application?
https://lucene.apache.org/solr/guide/8_4/the-term-vector
Hi Shivram,
I think the short answer is "no". At least, not without sub-classing
some of the JSON-Facet classes in SolrJ.
But it's hard for me to understand your particular concern without
seeing a concrete example. If you provide an example (maybe in the
form of a JUnit test
Heloo
I found mistake
Thanks
Raivo
On 05.11.20 17:08, Raivo Rebane wrote:
Hello
I have one problem
I made a query as foollws :
System.out.println("Querying by using SolrQuery...");
SolrQuery solrQuery = new SolrQuery("Name:" +
Pattern);
Hello
I have one problem
I made a query as foollws :
System.out.println("Querying by using SolrQuery...");
SolrQuery solrQuery = new SolrQuery("Name:" + Pattern);
solrQuery.addField("id");
solrQuery.addField("App_co
Hi folks,
Does anyone have any advice on this issue?
Thanks,
Shivam
On Tue, Oct 27, 2020 at 1:20 PM Shivam Jha wrote:
> Hi folks,
>
> Doing some faceted queries using 'facet.json' param and SolrJ, the results
> of which I am processing using SolrJ NestableJsonFacet
Hi folks,
Doing some faceted queries using 'facet.json' param and SolrJ, the results
of which I am processing using SolrJ NestableJsonFacet class.
basically as *queryResponse.getJsonFacetingResponse() -> returns
*NestableJsonFacet
object.
But I have noticed it does not maintain th
Hello
I can compile my project properliy;
But problems arise when I execute it with Maven and got problems
I dont know have these solrj problems or maven problems:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/hydra/workspace1/test/EMBEDDED
Java version
Hello
I want to use solrj in Maven project, but I got errors:
[ERROR]
/home/hydra/workspace1/kaks/src/main/java/solr/SolrJExample.java:[9,36]
cannot find symbol
[ERROR] symbol: class SolrClient
[ERROR] location: package org.apache.solr.client.solrj
[ERROR]
/home/hydra/workspace1/kaks
11
M 06 83 33 57 95
Efrank@reddata.nl<mailto:frank@reddata.nl>
Van: Alexandre Rafalovitch
Datum: donderdag, 17 september 2020 om 21:07
Aan: solr-user
Onderwerp: Re: NPE Issue with atomic update to nested document or child
document through SolrJ
The missing underscor
atomic update to nested document or child
document through SolrJ
The missing underscore is a documentation bug, because it was not
escaped the second time and the asciidoc chewed it up as an
bold/italic indicator. The declaration and references should match.
I am not sure about the code. I hope so
t; >
> > >
> > > On Thu, Sep 17, 2020 at 12:01 PM Alexandre Rafalovitch <
> > arafa...@gmail.com>
> > > wrote:
> > >
> > > > Can you double-check your schema to see if you have all the fields
> > > > required to support nest
re Rafalovitch <
> arafa...@gmail.com>
> > wrote:
> >
> > > Can you double-check your schema to see if you have all the fields
> > > required to support nested documents. You are supposed to get away
> > > with just _root_, but really you should also includ
; >
> >> On Sep 17, 2020, at 10:23 AM, Alexandre Rafalovitch
> wrote:
> >>
> >> Solr has a whole pipeline that you can run during document ingesting
> before
> >> the actual indexing happens. It is called Update Request Processor (URP)
> >> and i
I recommend _against_ issuing explicit commits from the client, let
your solrconfig.xml autocommit settings take care of it. Make sure
either your soft or hard commits open a new searcher for the docs
to be searchable.
I’ll bend a little bit if you can _guarantee_ that you only ever have one
index
t; the actual indexing happens. It is called Update Request Processor (URP)
>> and is defined in solrconfig.xml or in an override file. Obviously, since
>> you are indexing from SolrJ client, you have even more flexibility, but it
>> is good to know about anyway.
>>
you are indexing from SolrJ client, you have even more flexibility, but it
> is good to know about anyway.
>
> You can read all about it at:
> https://lucene.apache.org/solr/guide/8_6/update-request-processors.html and
> see the extensive list of processors you can leverage. The
Solr has a whole pipeline that you can run during document ingesting before
the actual indexing happens. It is called Update Request Processor (URP)
and is defined in solrconfig.xml or in an override file. Obviously, since
you are indexing from SolrJ client, you have even more flexibility, but it
est_path_
> > field.
> >
> > See:
> > https://lucene.apache.org/solr/guide/8_5/indexing-nested-documents.html#indexing-nested-documents
> >
> > Regards,
> >Alex.
> >
> > On Wed, 16 Sep 2020 at 13:28, Pratik Patel wrote:
> > >
>
Sep 16, 2020, at 9:31 PM, Steven White
> > wrote:
> > > >
> > > > Hi everyone,
> > > >
> > > > I figured it out. It is as simple as creating a List and
> using
> > > > that as the value part for SolrInputDocument.addField
Hi everyone,
I'm trying to figure out when and how I should handle failures that may
occur during indexing. In the sample code below, look at my comment and
let me know what state my index is in when things fail:
SolrClient solrClient = new HttpSolrClient.Builder(url).build();
solrClient.
alue part for SolrInputDocument.addField() API.
> > >
> > > Thanks,
> > >
> > > Steven
> > >
> > >
> > > On Wed, Sep 16, 2020 at 9:13 PM Steven White
> > wrote:
> > >
> > >> Hi everyone,
> > >>
> > >> I want to avoid creating a > >> source="OneFieldOfMany"/> in my schema (there will be over 1000 of
> them
> > and
> > >> maybe more so managing it will be a pain). Instead, I want to use
> SolrJ
> > >> API to do what does. Any example of how I can do this?
> If
> > >> there is an example online, that would be great.
> > >>
> > >> Thanks in advance.
> > >>
> > >> Steven
> > >>
> >
> >
>
; that as the value part for SolrInputDocument.addField() API.
> >
> > Thanks,
> >
> > Steven
> >
> >
> > On Wed, Sep 16, 2020 at 9:13 PM Steven White
> wrote:
> >
> >> Hi everyone,
> >>
> >> I want to avoid creating a &g
>
> Regards,
>Alex.
>
> On Wed, 16 Sep 2020 at 13:28, Pratik Patel wrote:
> >
> > Hello Everyone,
> >
> > I am trying to update a field of a child document using atomic updates
> > feature. I am using solr and solrJ version 8.5.0
> >
> >
cument using atomic updates
> feature. I am using solr and solrJ version 8.5.0
>
> I have ensured that my schema satisfies the conditions for atomic updates
> and I am able to do atomic updates on normal documents but with nested
> child documents, I am getting a Null Pointer Exception
Following are the approaches I have tried so far and both results in NPE.
*approach 1
TestChildPOJO testChildPOJO = new TestChildPOJO().cId( "c1_child1" )
.conceptid( "c1" )
,
>
> Steven
>
>
> On Wed, Sep 16, 2020 at 9:13 PM Steven White wrote:
>
>> Hi everyone,
>>
>> I want to avoid creating a > source="OneFieldOfMany"/> in my schema (there will be over 1000 of them and
>> maybe more so managing it will
uot;/> in my schema (there will be over 1000 of them and
> maybe more so managing it will be a pain). Instead, I want to use SolrJ
> API to do what does. Any example of how I can do this? If
> there is an example online, that would be great.
>
> Thanks in advance.
>
> Steven
>
Hi everyone,
I want to avoid creating a in my schema (there will be over 1000 of them and
maybe more so managing it will be a pain). Instead, I want to use SolrJ
API to do what does. Any example of how I can do this? If
there is an example online, that would be great.
Thanks in advance
p 16, 2020 at 1:27 PM Pratik Patel wrote:
> Hello Everyone,
>
> I am trying to update a field of a child document using atomic updates
> feature. I am using solr and solrJ version 8.5.0
>
> I have ensured that my schema satisfies the conditions for atomic updates
> and I am able to d
Hello Everyone,
I am trying to update a field of a child document using atomic updates
feature. I am using solr and solrJ version 8.5.0
I have ensured that my schema satisfies the conditions for atomic updates
and I am able to do atomic updates on normal documents but with nested
child documents
Hi,
I’m a student working on a personal project that uses SolrJ to search a
database using a solr core that lives on an AWS instance. Currently, I am using
EmbeddedSolrServer() to initialize a Solr core.
CoreContainer.Initializer initializer = new CoreContainer.Initializer();
CoreContainer
th handling. That's not what Solr does for
> > string class (tested). Is that a known issue?
> >
> > https://github.com/arafalov/SolrJTest/blob/master/src/com/solrstart/solrj/Main.java#L88-L89
>
> Not sure about this. Maybe we might need to check in Dev list or Slack
&
d return
> type and having multi-path handling. That's not what Solr does for
> string class (tested). Is that a known issue?
>
> https://github.com/arafalov/SolrJTest/blob/master/src/com/solrstart/solrj/Main.java#L88-L89
Not sure about this. Maybe we might need to check in Dev list
means the
query code has to be a lot more careful about checking field return
type and having multi-path handling. That's not what Solr does for
string class (tested). Is that a known issue?
https://github.com/arafalov/SolrJTest/blob/master/src/com/solrstart/solrj/Main.java#L88-L89
If I s
Hi Alex,
Currently, Fixing the documentation for nested docs is under progress. More
context is available in this JIRA -
https://issues.apache.org/jira/browse/SOLR-14383.
https://github.com/arafalov/SolrJTest/blob/master/src/com/solrstart/solrj/Main.java
The child doc transformer needs to be
Hello,
I am trying to get up to date with both SolrJ and Nested Document
implementation and not sure where I am failing with a basic test
(https://github.com/arafalov/SolrJTest/blob/master/src/com/solrstart/solrj/Main.java).
I am using Solr 8.6.1 with a core created with bin/solr create -c
solrj
: Hmm, setting -Dfile.encoding=UTF-8 solves the problem. I have to now check
: which component of the application screws it up, but at the moment I do NOT
: believe it is related to Solrj.
You can use the "forbidden-apis" project to analyze your code and look for
uses of APIs that dep
wrote:
> Hmm, setting -Dfile.encoding=UTF-8 solves the problem. I have to now check
> which component of the application screws it up, but at the moment I do NOT
> believe it is related to Solrj.
>
> On Fri, Aug 7, 2020 at 11:53 AM Jörn Franke wrote:
>
> > Dear all,
> >
Hmm, setting -Dfile.encoding=UTF-8 solves the problem. I have to now check
which component of the application screws it up, but at the moment I do NOT
believe it is related to Solrj.
On Fri, Aug 7, 2020 at 11:53 AM Jörn Franke wrote:
> Dear all,
>
> I have the following issues. I hav
Dear all,
I have the following issues. I have a Solrj Client 8.6 (but it happens also
in previous versions), where I execute, for example, the following query:
Jörn
If I look into Solr Admin UI it finds all the right results.
If I use Solrj client then it does not find anything.
Further
Thanks for Jan's response.
I tried to set this "nodes" parameter by ModifiableSolrParams. But the null
is return from GenericSolrRequest.
Could anyone advise the best approach to setup this parameter for multiple
nodes?
Thanks,
Chien
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-Us
Use nodes=, not node=
> 30. jun. 2020 kl. 02:02 skrev ChienHuaWang :
>
> Hi Jan,
>
> Thanks for the response.
> Could you please share more detail how you request the metric with multiple
> nodes same time?
> I do something as below, but only get one node info, the data I'm interested
> most is,
Hi Jan,
Thanks for the response.
Could you please share more detail how you request the metric with multiple
nodes same time?
I do something as below, but only get one node info, the data I'm interested
most is, ex: CONTAINER.fs.totalSpace, CONTAINER.fs.usableSpace. etc..
solr/admin/metrics?grou
The admin UI does this my requesting &nodes=,,…
You will get a master response with each sub response as key:value pairs.
The list of node_names can be found in live_nodes in CLUSTERSTATUS api.
Jan
> 27. jun. 2020 kl. 02:09 skrev ChienHuaWang :
>
> For people who is also looking for the solution
For people who is also looking for the solution - you can append
"node=node_name" in metrics request to get specific data of node.
If anyone know how to get the data if all the nodes together, please kindly
share, thanks.
Regards,
Chien
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-U
I observed the exactly same thing - the metrics for only one node.
Looking for the solution to get the metrics of all the nodes.
Could anyone advice?
Thanks,
Chien
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
n show you
how to parse it with SolrJ. I don't have easy access to production Solr
servers, so it's a little difficult for me to try it out myself.
Thanks,
Shawn
mmand in browser
http://localhost:8983/solr/ecom/mlt?q=aid:1
It returns with 10 docs in his response and a list of interestingTerms.
Running the same via solrj, I can't find the interestingTerms.
I setup my SolrQuery like this:
SolrQuery sq = new SolrQuery();
sq.setRequestHandler("/mlt
hile doing update operations from clients (using
SolrJ)
We are getting following socket timeout exception during this error. Any idea
on this?
ERROR (updateExecutor-3-thread-1392-processing-n:hostname:1100_solr
x:TestCollection_shard6_replica_n10 c:TestCollection s:shard6 r:core_no
while doing update operations from clients (using
SolrJ)
We are getting following socket timeout exception during this error. Any idea
on this?
ERROR (updateExecutor-3-thread-1392-processing-n:hostname:1100_solr
x:TestCollection_shard6_replica_n10 c:TestCollection s:shard6 r:core_node13
solr-user@lucene.apache.org
Subject: Timeout issue while doing update operations from clients (using SolrJ)
Hi,
Need some help in fixing intermittent timeout issue please. Recently we came
across this timeout issue during QA performance testing when a streaming
expression query which runs on a la
Hi,
Need some help in fixing intermittent timeout issue please. Recently we came
across this timeout issue during QA performance testing when a streaming
expression query which runs on a larger set of data (~60-80 million) from a
client using solrJ, was timing out exactly in 2mins. Later this
Hi All,
I'm attempting to connect to the metrics api in solrj to query metrics from
my cluster. Using the CloudSolrClient, I get routed to one node, and get
metrics only from that node.
I'm building my request like this:
GenericSolrRequest req = new GenericSolrRequest(METHOD.GE
/SOLR-14457
From: Jason Gerlowski
Sent: Wednesday, April 22, 2020 4:43 PM
To: solr-user@lucene.apache.org
Subject: Re: SolrJ connection leak with SolrCloud and Jetty Gzip compression
enabled
Hi Samuel,
Thanks for the very detailed description of the problem here
comunique por esta misma vía, proceda a su eliminación y se abstenga de
> utilizarlo en modo alguno.
> If you receive this message by error, please notify the sender by return
> e-mail and delete it. Its use is forbidden.
>
>
>
> ____
> From: Samuel
sender by return e-mail
and delete it. Its use is forbidden.
From: Samuel Garcia Martinez
Sent: Monday, April 13, 2020 10:08:36 PM
To: solr-user@lucene.apache.orG
Subject: SolrJ connection leak with SolrCloud and Jetty Gzip compression enabled
Hi!
Today, I
rward the request to a Solr Node that actually can perform the query, the
response headers are added incorrectly to the client response, causing the
SolrJ client to fail and to never release the connection back to the pool.
To simplify the case, let's try to start from the following repr
Hi all,
We are planning to add security to Solr using . For this we are adding few
information in the headers of each SolrJ Request. These request will be
intercepted by some application (proxy) in the Solr VM and then route it to
Solr ( Considering Solr port as 8983 ) .
Could you please answer
are
other encodings.
2> you include double quotes, which can change things to be phrase queries.
Looking at the debug version would have helped you pinpoint these.
> On Mar 24, 2020, at 5:34 AM, Szűcs Roland wrote:
>
> Hi All,
>
> I use Solr 8.4.1 and the latest solrj client.
>
inal Message-
> From: Szűcs Roland
> Sent: Tuesday, March 24, 2020 11:35 AM
> To: solr-user@lucene.apache.org
> Subject: how to add multiple value for a filter query in Solrj
>
> Hi All,
>
> I use Solr 8.4.1 and the latest solrj client.
> There is a field let's which c
how to add multiple value for a filter query in Solrj
Hi All,
I use Solr 8.4.1 and the latest solrj client.
There is a field let's which can have 3 different values. If I use the admin
UI, I write to the fq the following: filterName:"value1"
filterName:"value2" and it is
Hi All,
I use Solr 8.4.1 and the latest solrj client.
There is a field let's which can have 3 different values. If I use the
admin UI, I write to the fq the following: filterName:"value1"
filterName:"value2" and it is working as expected.
If I use solrJ SolrQuery.addFilte
;>
Are you running a 5x SolrJ client against an 8x server? There’s no
guarantee at all that that would work (or vice-versa for that matter).
Most generally, SolrJ clients should be able to work with version X-1, but X-3
is unsupported.
Best,
Erick
> On Feb 11, 2020, at 6:36 AM, Andreas Kahl
Are you running a 5x SolrJ client against an 8x server? There’s no
guarantee at all that that would work (or vice-versa for that matter).
Most generally, SolrJ clients should be able to work with version X-1, but X-3
is unsupported.
Best,
Erick
> On Feb 11, 2020, at 6:36 AM, Andreas Kahl wr
SolrClient or Http2SolrClient?
Is another version of SolrJ advisable?
Thanks & Best Regards
Andreas
update of 50M data in a collection from CSV
> using
> > Atomic script(solrj).But it is taking 2 hrs for 1M records.is there
> anyway i
> > can speed up my update.
>
> How many documents are you sending in one request?
>
> > Using HTTPClient to establish connection and a
On 12/12/2019 10:00 PM, Prem wrote:
I am trying to partially update of 50M data in a collection from CSV using
Atomic script(solrj).But it is taking 2 hrs for 1M records.is there anyway i
can speed up my update.
How many documents are you sending in one request?
Using HTTPClient to establish
partially update of 50M data in a collection from CSV using
> Atomic script(solrj).But it is taking 2 hrs for 1M records.is there anyway i
> can speed up my update.
> Using HTTPClient to establish connection and also i am validating whether
> the particular document is available in
I am trying to partially update of 50M data in a collection from CSV using
Atomic script(solrj).But it is taking 2 hrs for 1M records.is there anyway i
can speed up my update.
Using HTTPClient to establish connection and also i am validating whether
the particular document is available in
I created a JIRA for this:
https://issues.apache.org/jira/browse/SOLR-13894
On Wed, Nov 6, 2019 at 10:45 AM Jörn Franke wrote:
> I have checked now Solr 8.3 server in admin UI. Same issue.
>
> Reproduction:
> select(search(testcollection,q=“test”,df=“Default”,defType=“edismax”,fl=“id”,
> qt=“/ex
I have checked now Solr 8.3 server in admin UI. Same issue.
Reproduction:
select(search(testcollection,q=“test”,df=“Default”,defType=“edismax”,fl=“id”,
qt=“/export”, sort=“id asc”),id,if(eq(1,1),Y,N) as found)
In 8.3 it returns only the id field.
In 8.2 it returns id,found field.
Since found is
Thanks I will check and come back to you. As far as I remember (but have to
check) the queries generated by Solr were correct
Just to be clear the same thing works with Solr 8.2 server and Solr 8.2 client.
It show the odd behaviour with Solr 8.2 server and Solr 8.3 client.
> Am 05.11.2019 um 14
I'll probably need some more details. One thing that's useful is to look at
the logs and see the underlying Solr queries that are generated. Then try
those underlying queries against the Solr index and see what comes back. If
you're not seeing the fields with the plain Solr queries then we know it'
wly added
> docs. I hope this is possible, but how ?
> Because, currently I am using SolrJ and it re-index complete data each time.
>
> -Original Message-
> From: Peter Lancaster [mailto:peter.lancas...@findmypast.com]
> Sent: 04 November 2019 21:35
> To: solr-user@luc
docs are
added, instead I want it to update it, that is index only newly added docs. I
hope this is possible, but how ?
Because, currently I am using SolrJ and it re-index complete data each time.
-Original Message-
From: Peter Lancaster [mailto:peter.lancas...@findmypast.com]
Sent: 04
com]
>> Sent: 04 November 2019 20:04
>> To: solr-user@lucene.apache.org
>> Subject: Re: Delete documents from the Solr index using SolrJ
>>
>> when you add a new document using the same "id" value as another it just
>> over writes it
>>
>&
20:04
> To: solr-user@lucene.apache.org
> Subject: Re: Delete documents from the Solr index using SolrJ
>
> when you add a new document using the same "id" value as another it just over
> writes it
>
> On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) <
> kus
You can delete documents in SolrJ by using deleteByQuery. Using this you can
delete any number of documents from your index or all your documents depending
on the query you specify as the parameter. How you use it is down to your
application.
You haven't said if your application perfo
Thanks!
Actually am working on a Java web application using SolrJ for Solr search.
The users would actually be uploading/editing/deleting the docs. What have done
is defined a location/directory where the docs would be stored and passed that
location for indexing.
So, I am quite confused how to
-user@lucene.apache.org
> Subject: Re: Delete documents from the Solr index using SolrJ
>
> when you add a new document using the same "id" value as another it just
> over writes it
>
> On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) <
>
1 - 100 of 2761 matches
Mail list logo