[solr-index-update] solr update Is there a "literal.field_name" feature in json?

2018-12-16 Thread 유정인
Hello, The solr update's csv has a "literal.field_name" function. Does json have a similar function? No function found. Thank you.

[solr-search] I wonder if it is possible to sort by group in the group function.

2018-12-16 Thread 유정인
Hello The current group function is used to output each group separately. I wonder if you can sort by group differently. If the group does not have a feature, is there another way to achieve similar results? Thank you. Ex) http://local.interpark.com:8983/solr/test7/select?q=*:*

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Erick Erickson
bq. multiple fields acts as a MV field No, the idea is that you have N single valued fields, one for each of the MV entries you have. The copyField dest would be MV, and only used in those cases you wanted to match across values. Not saying that's a great solution, or if it would even necessarily

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Nicolas Paris
On Sun, Dec 16, 2018 at 09:30:33AM -0800, Erick Erickson wrote: > Have you looked at ComplexPhraseQueryParser here? > https://lucene.apache.org/solr/guide/6_6/other-parsers.html Sure. However, I am using multi-word synonyms and so far the complexphrase does not handle them. (maybe soon ?) >

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Erick Erickson
Have you looked at ComplexPhraseQueryParser here? https://lucene.apache.org/solr/guide/6_6/other-parsers.html But no, there are no plans that I know of to include something that has the notion of searching within MV fields. Depending on how many of these you have, you could do something with

Re: SolrCloud servers restart

2018-12-16 Thread Erick Erickson
Well, if you're rebooting the machines, there's not much to do except do them one at a time ;). If you have a maintenance window where the service can be unavailable for a time I'd 1> stop indexing 2> insure any in-flight updates have been committed (just issue a commit to each collection) 3>

Re: Solr schema to parse and search source code

2018-12-16 Thread Alexandre Rafalovitch
https://microsoft.github.io/language-server-protocol/ is probably your best bet. But also, perhaps you can just use or start from SourceGraph? https://sourcegraph.com/start Regards, Alex. On Sat, 15 Dec 2018 at 20:26, Steven White wrote: > > Hi everyone, > > I'm in need of providing a search

SolrCloud servers restart

2018-12-16 Thread Moshe Recanati | KMS
Hi, We've SolrCloud servers configuration with the following topology. 3 servers in which each server is zookeeper and Solr search. We would like to do maintained restart of the servers. Is there any specific guidelines on how to do the restart? Thank you Regards, Moshe Recanati CTO Mobile +

Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Nicolas Paris
hi This question is highly related to a previous one found on the mailing-list archive [1]. I have this document: "content_txt":["001 first","002 second"] I d'like the below query return nothing: > q=content_txt:(first AND second) The method proposed ([1]) by Erick works ok to look for a

RE: Open file limit warning when starting solr

2018-12-16 Thread Armon, Rony
Problem solved with this thread, suggesting a bug since Ubuntu 16: https://unix.stackexchange.com/questions/366352/etc-security-limits-conf-not-applied I used: Edit /etc/systemd/user.conf for the soft limit, and add DefaultLimitNOFILE=1048576. Edit /etc/systemd/system.conf for the soft