Re: Should I index the field that use in fq field?

2020-03-13 Thread Erick Erickson
FL has two flavors, neither of them have to do with index=true|false. To return a field in the FL list, specify stored=“true”. To return the results of a _function_, you can do that with “pseudo-fields”, please look in the reference guide. Best, Erick > On Mar 13, 2020, at 8:42 AM, GTHell wr

Re: Should I index the field that use in fq field?

2020-03-13 Thread GTHell
Does it mean that if the FL field is the result of some function, do I need to only Index those fields right? Or do I need to stored it also? -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Should I index the field that use in fq field?

2020-03-13 Thread Erick Erickson
This isn’t quite right. The fields do _not_ need indexed=true if (and only if) they have docValues=true in order to use function queries. But it’ll consume lots of on-heap resources. In fact, depending on the version of Solr (which you have not told us), it’s even possible to search on a field w

Re: Query is taking a time in Solr 6.1.0

2020-03-13 Thread Erik Hatcher
Looks like you have two, maybe three, wildcard/prefix clauses in there. Consider tokenizing differently so you can optimize the queries to not need wildcards - thats my first observation and suggestion. Erik > On Mar 13, 2020, at 05:56, vishal patel wrote: > > Some query is taking tim

Re: Should I index the field that use in fq field?

2020-03-13 Thread Nicolas Franck
Yes, every field you query has to be "indexed" every field you need to be returned in the response has to be "stored" the parameter "fl" can only return fields that are "stored". Other fields given are simply ignored. > On 13 Mar 2020, at 13:15, GTHell wrote: > > I'm doing a lot of filter q

Should I index the field that use in fq field?

2020-03-13 Thread GTHell
I'm doing a lot of filter query in fq. My search is something like 'q=*:*&fq=..function on a few fields..' . Do I need to only index those field and use FL to get other result or do I need to index everything? -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Secure communication between Solr and Zookeeper

2020-03-13 Thread Jan Høydahl
This is tracked here https://issues.apache.org/jira/browse/SOLR-7893 - help needed! There are many steps needed, and last time I tried I needed to use Java13 instead of Java11 for some reason. Jan > 12. mar. 2020 kl. 17:23 skrev Kirk Fitzsimons : > > > > Is it possible to secure communicatio

Query is taking a time in Solr 6.1.0

2020-03-13 Thread vishal patel
Some query is taking time in Solr 6.1.0. 2020-03-12 11:05:36.752 INFO (qtp1239731077-2513155) [c:documents s:shard1 r:core_node1 x:documents] o.a.s.c.S.Request [documents] webapp=/solr path=/select params={df=summary&distrib=false&fl=id&shards.purpose=4&start=0&fsv=true&sort=doc_ref+asc,id+de