Re: SolrCore Initialization Failures in Solr 8.0.0

2019-03-26 Thread vishal patel
solr 6.1.0 folder structure F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr\ --- product --- conf --- schema.xml --- solrconfig.xml --- core.prop

Re: Re: solr _route_ key now working

2019-03-26 Thread Jay Potharaju
I was reading the debug info incorrectly it is working as expected ...thanks for the help. Thanks Jay Potharaju On Tue, Mar 26, 2019 at 10:58 PM Jay Potharaju wrote: > Edwin, I tried escaping the special characters but it does not seems to > work. I am using 7.7 > Thanks Jeremy for the example

Re: Re: solr _route_ key now working

2019-03-26 Thread Jay Potharaju
Edwin, I tried escaping the special characters but it does not seems to work. I am using 7.7 Thanks Jeremy for the example. id:123:456!789 I do see that the data for the same key is co-located in the same shard by running. I can see that all the data is co-located in the same shard when querying th

Re: Can Solr facet on a particular element in a list

2019-03-26 Thread Wendy2
Hi Erick, Thank you very much for your response! OK, I understand what you mean and will flaten the list into multiple fields. Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr Spell Check not giving results back

2019-03-26 Thread Zheng Lin Edwin Yeo
Hi, I think your schema/config didn't get through. Also, which Solr version are you using when you face this issue? Regards, Edwin On Tue, 26 Mar 2019 at 14:14, Deoxyribonucleic_DNA ... < deoxyribonucleic_...@hotmail.com> wrote: > Hi could some one take look at the scheme/config stuff I've set

Re: Problem with white space or special characters in function queries

2019-03-26 Thread Zheng Lin Edwin Yeo
Hi Shamik, String fieldType should keep the space. Can you give the full query that you used when you get the error? Also, which Solr version are you using? Regards, Edwin On Wed, 27 Mar 2019 at 03:16, shamik wrote: > Edwin, > >The field is a string type, here's the field definition. > >

Re: Can Solr facet on a particular element in a list

2019-03-26 Thread Erick Erickson
In a word, “no”. Assuming these are String fields. You’d have to do something like index to multiple fields, i.e. rcsb_enzyme_lineage.name1":"NAD(+) glycohydrolase" rcsb_enzyme_lineage.name2":"Hydrolases" rcsb_enzyme_lineage.name3":"Hydrolyzing N-glycosyl compounds" rcsb_enzyme_lineage.name4":"

Can Solr facet on a particular element in a list

2019-03-26 Thread Wendy2
Hi Solr Users, Can Solr facet on a particular element in a list? For example, I have a list with 4 elements as below. Is it possible to facet on the individual element? facet on rcsb_enzyme_lineage.name(0), rcsb_enzyme_lineage.name(1), etc?? Thanks! "rcsb_enzyme_lineage.name":["NAD(+) glyc

Re: Help with slow retrieving data

2019-03-26 Thread Wendy2
Hi Eric, Thank you for your response! On the old system, I changed to use docValues=true, and had better performance. But the searcher was not warmed before I measured it. Also the local disk was too small so I used an attached volume which turned out was a big cause of the slow retrieve. On t

Re: Query of death? Collapsing Query Parser - Solr 7.5

2019-03-26 Thread IZaBEE_Keeper
OK.. The intent is to collapse on the field domain.. Here's a query that works fine and the way I want with the Collapsing query parser.. /select?defType=dismax&fl=score,content,description,keywords,title&fq={!collapse%20field=domain%20nullPolicy=expand}&pf=content^0.05%20description^0.03%20keyw

Re: Error on text field

2019-03-26 Thread Shawn Heisey
On 3/26/2019 10:56 AM, Dave Beckstrom wrote: I'm using Nutch to crawl and index some content. It failed on a SOLR field defined as a text field when it was trying to insert the following value for the field: What precisely does "failed" mean? Can you share the complete error? It will likely

Re: Problem with white space or special characters in function queries

2019-03-26 Thread shamik
Edwin, The field is a string type, here's the field definition. -Shamik -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

hl.preserveMulti in Unified highlighter?

2019-03-26 Thread Walter Underwood
It looks like hl.preserveMulti is only implemented in the Original highlighter. Has anyone looked at doing this for the Unified highlighter? We need to preserve order in the highlights for a multi-valued field. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my bl

Re: Query of death? Collapsing Query Parser - Solr 7.5

2019-03-26 Thread Michael Gibney
Would you be willing to share your query-time analysis chain config, and perhaps the "debug=true" (or "debug=query") output for successful queries of a similar nature to the problematic ones? Also, re: "only times out on extreme queries" -- what do you consider to be an "extreme query", in this con

Error on text field

2019-03-26 Thread Dave Beckstrom
Hi Everyone, I'm using Nutch to crawl and index some content. It failed on a SOLR field defined as a text field when it was trying to insert the following value for the field: 33011-54192-EWHServer1234-3BA9D1CA-05B6-42BA-9D88-BAD970CAEEC6 The field was defined in the schema.xml as: The error

Re: Intervals vs Span guidance

2019-03-26 Thread Tomás Fernández Löbbe
While solr-user is not a bad place to ask this question, I suspect you'll get more answers in java-u...@lucene.apache.org since there is a lot going on at the Lucene level right now. On Tue, Mar 26, 2019 at 9:09 AM Ramsey Haddad (BLOOMBERG/ LONDON) < rhadda...@bloomberg.net> wrote: > We are build

Re: Solr indexing with Tika DIH local vs network share

2019-03-26 Thread Erick Erickson
Not quite an answer to your specific qustion, but… There are a number of reasons why it’s better to run your Tika process outside of Solr and DIH. Here’s the long form: https://lucidworks.com/2012/02/14/indexing-with-solrj/ Ignore the RDBMS parts. It’s somewhat old, but should be adaptable easily.

Intervals vs Span guidance

2019-03-26 Thread Ramsey Haddad (BLOOMBERG/ LONDON)
We are building our needed customizations/extensions on Solr/Lucene 7.7 or 8.0 or later. We are unclear on whether/when to use Intervals vs Span. We know that Intervals is still maturing (new functionality in 8.0 and probably on-going for a while?) But what is the overall intention/guidance? "I

Solr indexing with Tika DIH local vs network share

2019-03-26 Thread neilb
Hi, I am trying to setup Solr for our project which can return full text searches on PDF documents. I am able to run the sample Tika DIH example locally on my windows server machine. It can index all PDF documents recursively in "baseDir" of config xml. Presently "baseDir" points to local folder o

Intervals vs Span guidance

2019-03-26 Thread Ramsey Haddad (BLOOMBERG/ LONDON)
We are building our needed customizations/extensions on Solr/Lucene 7.7 or 8.0 or later. We are unclear on whether/when to use Intervals vs Span. We know that Intervals is still maturing (new functionality in 8.0 and probably on-going for a while?) But what is the overall intention/guidance? "I

Re: SolrCore Initialization Failures in Solr 8.0.0

2019-03-26 Thread Erick Erickson
How did you create your “product” collection? It looks like you have the config resident on your local disk and _not_ on ZooKeeper. Your configset has to be in ZooKeeper when you create your collection of course. Do not try to individually edit the core.properties files, that’ll be very difficu

Autoscaling rack awareness

2019-03-26 Thread Richard Goodman
Hi, I'm currently running into some trouble trying to set up rack awareness as a cluster policy. I run my cluster with 3 way replication, currently a few collection-shards have 4 replicas, which shows as violations under my current set policies: { "set-cluster-policy":[ { "replica":"<2", "shard":

SolrCore Initialization Failures in Solr 8.0.0

2019-03-26 Thread vishal patel
My previous solr version was 6.1.0 and zoo keeper version was 3.4.6. Now I am upgrading solr version 8.0.0 and zoo keeper 3.4.13. In solr 6.1.0 my collection(product) folder server\solr\product conf schema.xml solrconfig.xml core.properties In core.properties :: name=product shard=shard1 collect

bin/post command not working when run from crontab

2019-03-26 Thread Carsten Agger
I'm working with a script where I want to send a command to delete all elements in an index; notably, /opt/solr/bin/post -c -d  "*:*" When run interactively, this works fine. However, when run automatically as a cron job, it gives this interesting output: Unrecognized argument:   "*:*" If

Re: Re: solr _route_ key now working

2019-03-26 Thread Branham, Jeremy (Experis)
Jay – I’m not familiar with the document ID format you mention [having a “:” in the prefix], but it looks similar to the composite ID routing I’m using. Document Id format: “a/1!id” Then I can use a _route_ value of “a/1!” when querying. Example Doc IDs: a/1!768456 a/1!563575 b/1!456234 b/1!2456

bin/post command not working when run from crontab

2019-03-26 Thread Carsten Agger
I'm working with a script where I want to send a command to delete all elements in an index; notably, /opt/solr/bin/post -c -d  "*:*" When run interactively, this works fine. However, when run automatically as a cron job, it gives this interesting output: Unrecognized argument:   "*:*" If