Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi , I created core name as "films". Now I am trying to insert my csv file by below step:- C:\solr>curl "http://localhost:8983/solr/films/update?commit=true; --data-binary @example/books_data.csv -H 'Content-type:application/csv' Got Below result. { "responseHeader":{ "status":0,

Re: [SolrCloud] No config data found after SolrCloud server restart

2018-02-05 Thread A.Guptar
Hello, I have removed the -cloud from the startup script and restarted the server. Issue still persists. Attached is the solr.log file. solr.zip Thanks for the help. -- Sent from:

Re[2]: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread Александр Шестак
Hi, thank you for your explanation. I have one more question related to this topic. I have changed my schema in next way (replaced SynonymGraphFilterFactory with SynonymFilterFactory):                                                           Now I have another strange issue. If I have

Re: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread AlexandrShestak
Hi, thank you for your explanation. I have one more question related to this topic. I have changed my schema in next way (replaced SynonymGraphFilterFactory with SynonymFilterFactory): Now I have

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Shawn Heisey
On 2/5/2018 10:39 PM, Shawn Heisey wrote: In order for this solr script command to work, the argument to the -d option (which you have as C:\solr) would have to be a config directory, containing a minimum of solrconfig.xml and the schema. Replying to myself because I made an error here. The

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Shawn Heisey
On 2/5/2018 7:45 PM, @Nandan@ wrote: Now I want to create solr core to start my basic search using Solr UI. Steps which I Follow :- 1) Go to bin directory and start solr C:\solr\bin>solr start -p 8983 2) books_data.csv is in C:\solr location 3) Now I try to create solr core. C:\solr\bin>solr

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi Abhishek, In my conf sub directory, I put only solrconfig.xml file as per error I was getting. I didn't put any other file . Please check . Thanks On Tue, Feb 6, 2018 at 12:57 PM, abhi Abhishek wrote: > Hello, > I followed the steps outlined in your mail. i was

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread abhi Abhishek
Hello, I followed the steps outlined in your mail. i was able to get a running core up fine. only thing I can think of in your case is the config directory having all the required files for the SOLR Core to get initialized. can you check if you have all the SOLR config files in the config

Re: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi Sadiki, I checked Sample Techproduct Conf folder. Inside that folder, there are numerous files. So Again my question will be how those files came. I want to create core from Scratch and want to check and create each and every config files from my sides. Then only I can able to understand what

RE: Reg:- Create Solr Core Using Command Line

2018-02-05 Thread Sadiki Latty
If I'm not mistaken the command requires that the books_data folder already exists with a conf folder inside and the various required files (solrconfig.xml, solr.xml,etc). To get an idea of what you should have in your conf folder you can check out the included configsets

Reg:- Create Solr Core Using Command Line

2018-02-05 Thread @Nandan@
Hi , This question might be very basic, but need to clarify my basic understanding. I am using Solr Version 7.2.1 I have one CSV file named as books_data.csv which contains 2 records. Now I want to create solr core to start my basic search using Solr UI. Steps which I Follow :- 1) Go to bin

Move the lang-configurations from managed-schema to its own xml file

2018-02-05 Thread S G
Hi, I think it would be good to move the lang-configurations from managed-schema to its own xml file as discussed in https://issues.apache.org/jira/browse/SOLR-11948 What do other people think? Thanks SG

Re: Matching parent docs when two child docs match different criteria

2018-02-05 Thread SuperMattio86
Thank you! That is interesting. But I think I failed to fully outline the requirements I have, since I can still contrive an example where this might not work. If I changed the document as follows: { "id":"3", "_level_":0, "_version_":1591607734461005824,

Min-should-match and Mutli-word synonyms unexpected result

2018-02-05 Thread Nick D
I have run into an issue with multi-word synonyms and a min-should-match (MM) of anything other than `0`, *Solr version 6.6.0*. Here is my example query, first with mm set to zero and the second with a non-zero value: With MM set to 0

Re: 9000+ CLOSE_WAIT connections in solr v6.2.2 causing it to "die"

2018-02-05 Thread Shawn Heisey
On 2/5/2018 12:29 PM, mmb1234 wrote: > Maybe this is the issue: https://github.com/eclipse/jetty.project/issues/2169 Could be.  That was one of the Jetty issues I found, and the one that said 9.4 doesn't have the problem.  Your Solr version would be using Jetty 9.3, not 9.2. > The custom client

Re: analysis error - cannot change numBytes from 4 to 8

2018-02-05 Thread Erick Erickson
Steve: Did this work in the past but just stopped? If so, did you change your schema at all? If you changed your schema at all, you probably have to reindex from scratch. However, you _must_ be absolutely sure you've removed all traces of your old index, I usually just create a new colletion to

I'm unable to negate a join query using the Spring Java interface to Solr

2018-02-05 Thread Todd Stevenson
I have the following query: {!join from=conceptNcid to=ncid fromIndex=hdd_rel_tst}relationshipNcid:364 which I implemented in Spring: Criteria criteria = new Criteria("relationshipNcid").is("364"); SimpleQuery search = new SimpleQuery(criteria, pageable);

Re: Mixing simple and nested docs in same update?

2018-02-05 Thread Mikhail Khludnev
Jan, mixing plan docs and blocks are not supported. On Thu, Jan 11, 2018 at 2:42 AM, Jan Høydahl wrote: > Hi, > > We index several large nested documents. We found that querying the data > behaves differently depending on how the documents are indexed. > > To reproduce: >

Re: Matching parent docs when two child docs match different criteria

2018-02-05 Thread Mikhail Khludnev
q=+{!parent .. v=$m} +{!parent .. v=$l}=size:(+M -L)=size:(+L -M) On Sun, Feb 4, 2018 at 10:56 PM, SuperMattio86 wrote: > Hello. > > As a toy example, let's assume I have documents that looks like this: > > { > "id": "1", > "_childDocuments_": [ > { >

Re: 9000+ CLOSE_WAIT connections in solr v6.2.2 causing it to "die"

2018-02-05 Thread mmb1234
Maybe this is the issue: https://github.com/eclipse/jetty.project/issues/2169 I have noticed when number of http requests / sec are increased, CLOSE_WAITS increase linearly until solr stops accepting socket connections. Netstat output is $ netstat -ptan | awk '{print $6 " " $7 }' | sort | uniq -c

Re: Solr join query takes too long

2018-02-05 Thread Mikhail Khludnev
Hello. There is no way to make it work fast. It executes expensive join operation for all docs/terms and then post filters with resulting docset. On Mon, Feb 5, 2018 at 9:53 AM, Aashish Agarwal wrote: > Hi > > I am using join query that joins 2 cores to get result. Since,

Re: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread Shawn Heisey
On 2/5/2018 9:27 AM, Steve Rowe wrote: > I believe Shawn is wrong. Not happy to be wrong, but glad for your assist and making sure that the right information is provided. Sounds like it's just not possible to use multiple graph-aware filters together. Thanks, Shawn

analysis error - cannot change numBytes from 4 to 8

2018-02-05 Thread Steve Pruitt
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

Re: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread Steve Rowe
Hi Александр, > On Feb 5, 2018, at 11:19 AM, Shawn Heisey wrote: > > There should be no problem with using them together. I believe Shawn is wrong. From : >

Re: [SolrCloud] No config data found after SolrCloud server restart

2018-02-05 Thread Shawn Heisey
On 2/5/2018 5:13 AM, A.Guptar wrote: > We are having issues with SolrCloud 5.4.1 instances after the hosting > servers have been restarted. > > Scenario: > We have 3 servers, on which SolrCloud 5.4.1 was configured and setup to be > used with an external ZooKeeper ensemble. > Once configured and

Re: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread Shawn Heisey
On 2/5/2018 3:55 AM, Александр Шестак wrote: > > Hi, I have misunderstanding about usage of SynonymGraphFilterFactory > and  WordDelimiterGraphFilterFactory. Can they be used together? > There should be no problem with using them together.  But it is always possible that the behavior will

Re: using gatherNodes to produce 'to' -> 'from' pairs

2018-02-05 Thread Joel Bernstein
There is traceability built in also, but I'm not sure if it provides enough features for your use case. In the docs you'll see there is a trackTraversal flag which outputs the ancestors that point to each node as an array. You can use the cartesianProduct() expression to expand the ancestors

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Alessandro Benedetti
How is this field type defined : textSpell ? Can you detail what it is not working as expected ? Thanks - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Anupam Bhattacharya
Following is the configuration related to Spell check in the Solr-config.xml file. textSpell title_txt_spellcheck_ja title_txt_spellcheck_ja true true ./spellchecker_en title_txt_spellcheck_en

Re: Using SolrJ for digest authentication

2018-02-05 Thread ddramireddy
It's running only once. When request went from client from tomcat first-time, tomcat sent response with "WWW-Authenticate" header with nonce value, asking to complete the challenge. This challenge is processed. But apache http client library is checking whether request is "repeatable" or not. This

Re: No Suggestions from SpellCheck when _text_ field tokenizer set to solr.NGramTokenizerFactory

2018-02-05 Thread Alessandro Benedetti
Hi, how is your spellcheck dictionary : "spellcheck.dictionary=title_txt_spellcheck_ja" defined in the solrconfig.xml? Regards - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from:

[SolrCloud] No config data found after SolrCloud server restart

2018-02-05 Thread A.Guptar
Hello, We are having issues with SolrCloud 5.4.1 instances after the hosting servers have been restarted. Scenario: We have 3 servers, on which SolrCloud 5.4.1 was configured and setup to be used with an external ZooKeeper ensemble. Once configured and setup, it works fine until there is a full

SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread AlexandrShestak
Hi, I have misunderstanding about usage of SynonymGraphFilterFactory and WordDelimiterGraphFilterFactory. Can they be used together? I have solr type configured in next way So on query time it uses SynonymGraphFilterFactory after

Re: facet.method=uif not working in solr cloud?

2018-02-05 Thread Alessandro Benedetti
What happens if you set f.color.facet.mincount=1 from the beginning ? Are you faceting on multiple fields ? Good news we found out the first mistery though ! :) Cheers - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. - www.sease.io -- Sent

Re: The Expected Suggestions Is Phrase Instead Of Whole Contents From Field

2018-02-05 Thread Alessandro Benedetti
I am sorry but what you get is the expected behavior [1] Maybe you are interested to the free text lookup approach[2]. Cheers [1] https://sease.io/2015/07/solr-you-complete-me.html [2] https://lucene.apache.org/solr/guide/6_6/suggester.html#Suggester-FreeTextLookupFactory -

SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-02-05 Thread Александр Шестак
Hi, I have misunderstanding about usage of SynonymGraphFilterFactory and  WordDelimiterGraphFilterFactory. Can they be used together? I have solr type configured in next way             So on query time it uses SynonymGraphFilterFactory after

Re: using gatherNodes to produce 'to' -> 'from' pairs

2018-02-05 Thread Gintautas Sulskus
Hi Joel, Thanks. The alternatives will not be as neat, unfortunately. fetch() does not suit the needs because it cannot trace back the root node given only the 'from' value. The node pairs below would produce a result set of {'b1', 'b2', 'b1'} and there is no way to tell which root element they