.
-S
-Original Message-
From: Steve Pruitt
Sent: Thursday, June 27, 2019 2:46 PM
To: solr-user@lucene.apache.org
Subject: RE: [EXTERNAL] - Re: Solr not returning stored field
Ok, I am totally confused.
It works fine using Solr Admin console on some test cases. I set the fl box
with
n 27, 2019, 1:37 PM Steve Pruitt, wrote:
> I cannot get Solr to return a stored field.
>
> My schema is:
>
> :
> name="ranking" type="pdouble" indexed="false" stored="true"/> name="reference" type="string" indexed
I cannot get Solr to return a stored field.
My schema is:
:
:
I am using the SolrJ client and trying this:
The query string contains = " user: " and a list of user field values;
The query executes ok. I get several documents.
SolrQuery solrQuery = new SolrQuery(query);
solrQuery.setSort("r
I see nothing in the documentation suggesting a query with a join filter
doesn't work when a single collection is involved. There is the special
deployment instructions when joining across two distinct collections, but this
is not my case.
I have a single collection:
I have two VM's, both runn
Shawn,
You are correct. I created another setup. This time with 1 node, 1 shard, 2
replicas and the join worked!
Running with the example SolrCloud setup doesn't work for join queries.
Thanks.
-S
-Original Message-
From: Steve Pruitt
Sent: Thursday, August 30, 2018 12:25
30, 2018 12:11 PM
To: solr-user@lucene.apache.org
Subject: Re: [EXTERNAL] - Re: join works with a core, doesn't work with a
collection
On 8/30/2018 9:49 AM, Steve Pruitt wrote:
> If you mean another running Solr server running, then no.
I mean multiple Solr processes.
The cloud example
If you mean another running Solr server running, then no.
-Original Message-
From: Shawn Heisey
Sent: Thursday, August 30, 2018 11:31 AM
To: solr-user@lucene.apache.org
Subject: Re: [EXTERNAL] - Re: join works with a core, doesn't work with a
collection
On 8/30/2018 9:17 AM,
8/30/2018 9:00 AM, Steve Pruitt wrote:
> Is there something different I need to do for a query with a join for a
> Collection? Singular Collection, not across Collections.
>
> Initially, I used a Core for simple development. One of my queries uses a
> join. It works fine.
I kn
Is there something different I need to do for a query with a join for a
Collection? Singular Collection, not across Collections.
Initially, I used a Core for simple development. One of my queries uses a
join. It works fine.
I created a Collection with the same schema. Indexed the same docum
At least it is complicated to me. :>)
We are investigating how to find return a list documents whose identifier is
contained in a multi-value field in another document.
The index consists of essentially two different documents sharing some common
fields.
To make it simple, I will refer to them
I am updating an existing document using the "add-distinct" directive. One of
my fields is declared:
The field being updated is a different field.
All I set in my code is
Map fields = new HashMap<>();
SolrInputDocument solrDoc = new SolrInputDocument();
fields.put("add-distinct", member);
so
Admin guide has UUIDField as a field type, but it's not defined in the default
schema.
The Admin guide describes it in conjunction with the
UUIDUpdateProcessorFactory. I see the updateProcessor defined in the default
schema.
The only place I see UUIDUpdateProcessorFactory discussed in the Adm
Changing the request handler to /suggest in the Admin Console Query panel
doesn't work. It was a guess on my part to see if it would.
Is the way to do this, or do I need to always use browser, postman, etc. for
debugging?
Thanks.
-Steve
moved all traces of your old
index, I usually just create a new colletion to test.
Finally you say "it's potentially multivalued". So you have to specify the
field multiple times, as:
6157731300
6157731301
NOT
6157731300 6157731301
Best,
Erick
On Mon, Feb 5, 2018 at 9:15 AM, Stev
I have a collection with a field defined as plongs. The field schema is:
For each document to add, I build up a HashMap of field values. Since its
multi-valued field, I create an ArrayList of type Long and add the values to
it. The ArrayList is added to the HashMap.
Next, I create a SolrI
The 7.2.1 SolrCloudClientBuilder has the method withParallelUpdates(Boolean).
It's my understanding the SolrCloudClient does not manage multiple threads like
the ConcurrentUpdateSolrClient.
Curious what the withParallelUpdates setting on SolrCloudClientBuilder does.
It hints at multi-threaded
I have two document types that share several fields. We currently plan a
single index for both types. One of the shared fields contains a value that
correlates two document instances, i.e. two documents of the two types has the
same value. The values are random integers.
We would like each c
over the client is usually a good reason, but I thought I'd
ask ;)
FWIW,
Erick
On Wed, Dec 13, 2017 at 10:45 AM, Steve Pruitt wrote:
> I am trying to work out how to share a parameter value in all the Solr nodes
> in a cluster.
>
> I have two custom search components. One is
I am trying to work out how to share a parameter value in all the Solr nodes in
a cluster.
I have two custom search components. One is defined in the first-components
list and the other is defined in the last-components list. Ideally, the
first-component creates the parameter value and sets s
I have three SolrCloud nodes. Two are VM's, the other is my machine. I start
Solr on each and they report running in SolrCloud mode. I can access each node
via the admin console.
I have a configset uploaded to my ZK ensemble.
I next tried creating a collection via the admin console for my ma
On 12/6/2017 9:39 AM, Steve Pruitt wrote:
> Can someone suggest the best method for starting SolrCloud as a Windows
> Service?
>
> I have used nssm prior. It works ok for Solr standalone, but doesn't seem to
> work correctly for SolrCloud. This could simply be me not config
Can someone suggest the best method for starting SolrCloud as a Windows Service?
I have used nssm prior. It works ok for Solr standalone, but doesn't seem to
work correctly for SolrCloud. This could simply be me not configuring the
service in nssm.
If anyone has a working method, my thanks.
Thanks. I understand.
-Original Message-
From: Shawn Heisey [mailto:apa...@elyograg.org]
Sent: Monday, December 04, 2017 11:58 PM
To: solr-user@lucene.apache.org
Subject: [EXTERNAL] - Re: Solr Cloud configuration
On 12/4/2017 12:11 PM, Steve Pruitt wrote:
> Getting my Solr Cloud no
Getting my Solr Cloud nodes up and running took manually setting execution
permissions on the configuration files and manually creating the logs and
logs/archived folders under /opt/solr/server. Even though I have my log
folders set to var/solr/logs in the default/solr.in.sh file.
After gettin
I used the -u option to provide the installer with a user id. The /var/solr
folder has the user set as the owner. But, the /opt/solr folder is owned by
root. How did this happen?
I checked the opt/solr/bin/init.d/solr and verified RUNAS is set to the user I
entered. When I try to execute se
The documentation states you cannot run Solr cloud as root. When I installed
Solr I gave it another user. I checked the init.d script and RUNAS is set to
the user I entered. This user doesn't have the permissions I need, but I am
not exactly sure where to check permissions.
Thanks.
-S
017 6:34 PM
To: solr-user@lucene.apache.org
Subject: [EXTERNAL] - Re: starting SolrCloud nodes
On 12/1/2017 10:13 AM, Steve Pruitt wrote:
> Thanks to previous help. I have a ZK ensemble of three nodes running. I
> have uploaded the config for my collection and the solr.xml file.
> I have Solr
Thanks to previous help. I have a ZK ensemble of three nodes running. I have
uploaded the config for my collection and the solr.xml file.
I have Solr installed on three machines.
I think my next steps are:
Start up each Solr instance: bin/solr start -c -z
"zoo1:2181,zoo2:2181,zoo3:2181" //
a config set. I haven't created a Collection
yet. The running Solr instance upon initial install has no config yet. But,
I think I am not understanding what "definition" and "*config*" mean.
Thanks in advance.
-S
On 11/29/2017 11:44 AM, Steve Pruitt wrote:
>
A couple of steps are still not clear to me.
Currently, I have my schema defined. Plus, I have six VM's.
I have ZK running on three of the VM's.
Now I want to get a SolrCloud cluster running on other three. I may use only
two VM's and use my local machine as the third node.
I want ZK to manage
y
1,2,3
you're telling Solr that the _single_ value of the field is "1,2,3"
which, of course, doesn't parse as an integer.
Best,
Erick
On Wed, Sep 6, 2017 at 1:09 PM, Steve Pruitt wrote:
> Can't get a multi-valued pint field to update.
>
> The schema def
Can't get a multi-valued pint field to update.
The schema defines the field:
I get the exception on this input: 7780386,7313483
Caused by: java.lang.NumberFormatException: For input string: "7780386, 7313483"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
I just tried putting the solr-dataimporthandler-6.6.0.jar in server/solr/lib
and I got past the problem. I still don't understand why not found in /dist
-Original Message-
From: Steve Pruitt [mailto:bpru...@opentext.com]
Sent: Thursday, August 31, 2017 3:05 PM
To: solr
I still can't understand how Solr establishes the classpath.
I have a custom entity processor that subclasses EntityProcessorBase. When I
execute the /dataimport call I get
java.lang.NoClassDefFoundError:
org/apache/solr/handler/dataimport/EntityProcessorBase
no matter how I state in solrconf
Is it just me, but the Solr Wiki shows nonsensical characters for what looks
like example commands, etc.? I tried both Chrome and IE and get the same
result.
Example, on https://cwiki.apache.org/confluence/display/solr/Post+Tool
This shows:
Index a PDF file into gettingstarted.
#66noneso
Are default values supported for fields defined as multivalued text? I can't
get it to work.
Scouring the documentation, I found nothing indicating the two attributes are
mutually exclusive.
I found a couple of online examples indicating the two attributes can be used
together.
I have this f
My use case is programmatically setting a query filter before executing the
query. I have a search component in the /select first-components list.
This component determines the filter query value and sets it in the process
method. I pass in a custom param to trigger the filter creation
I grab
, it's possible in the future there can be new document types we need to
index.
Any opinions or thoughts along this question are appreciated.
Thanks in advance.
-Steve Pruitt
: [EXTERNAL] - Re: compiling Solr
On 7/13/2017 2:16 PM, Steve Pruitt wrote:
> I have been following the instructions on the Solr Wiki for compiling Solr.
> I started with the 6.6 source. The only thing I did different was download
> the src directly. I did not use Subversion.
> I made
I have been following the instructions on the Solr Wiki for compiling Solr. I
started with the 6.6 source. The only thing I did different was download the
src directly. I did not use Subversion.
I made through step 7 - Compile application with no problems. However, the
dist folder contains n
value
You get back QueryResponse after executing a query. Then you can simply use
below to get qTime, ElapsedTime and numFound.
response.getQTime(),
response.getElapsedTime()
response.getResults().getNumFound()
Thanks,
Susheel
On Wed, Jul 12, 2017 at 4:29 PM, Steve Pruitt wrote:
> I&
e.org
Subject: [EXTERNAL] - Re: accessing numfound value
Steve,
This is a wild guess because you are not telling us nearly enough. The guess:
you are not getting any matches or hits. O. Cheers --Rick
On July 12, 2017 4:29:43 PM EDT, Steve Pruitt wrote:
>I'm having difficulty finding
I'm having difficulty finding the value for numFound that is in the response.
My context is a custom component in the last-components list for /select.
Where rb is the ResponseBuilder parameter for the process(..) method:
rb.getNumberDocumentsFound() is 0.
rb.totalHitCount is 0.
I don't unders
: Total guess though.
:
: Erick
:
: On Fri, Jun 30, 2017 at 10:08 AM, Steve Pruitt wrote:
: > I have a custom search component that registered in the last-components
list for /select. The component does some bookkeeping. I got it working using
a helloworld core using one of the examp
all three cores? My thought is that the
component is being called for all three cores but it's hard to see b/c the name
is the same.
Total guess though.
Erick
On Fri, Jun 30, 2017 at 10:08 AM, Steve Pruitt wrote:
> I have a custom search component that registered in the last-compone
.solr.home}
${solr.core.name}
Thanks in advance.
-S
Steve Pruitt
46 matches
Mail list logo