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

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: How to query with FL field lower than some value?

2020-03-12 Thread GTHell
Many thank your solution! When I read the doc I didn't notice that the frange accept function. Now I'm able to calculate the distance and get the result that's only below 0.5 Again thank :) -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How to query with FL field lower than some value?

2020-03-10 Thread GTHell
But the fq can't use the alias field call score. Anyway, is the performance the same if I just sort the dist() function and get only 3 results? -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

How to query with FL field lower than some value?

2020-03-10 Thread GTHell
I use score:dist(2, v1, v2 , 0.8, ) in fl to calculate the distance. It gave me the result I want but I only want the result score that is below 0.5. How would I achieve that? -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html