Right, I am removing them myself. Another feature which would be great
would be the ability to specify a custom collector like the positive score
only collector in this case to avoid having to do an extra pass over all of
the scores, but I don't believe there is a way to do that now right?
On Thu
On Thu, Aug 27, 2015 at 2:43 PM, Erick Erickson wrote:
> Right, when scoring any document that scores 0 is removed from the
> results
Just to clarify, I think Jamie removed 0 scoring documents himself.
Solr has never done this itself. Lucene used to a long time ago and
then stopped IIRC.
-Yoni
Right, when scoring any document that scores 0 is removed from the
results and facets etc. are calculated afterwards.
Best,
Erick
On Thu, Aug 27, 2015 at 10:24 AM, Jamie Johnson wrote:
> Actually I should have just tried this before asking but I'll say what I'm
> seeing and maybe someone can con
Actually I should have just tried this before asking but I'll say what I'm
seeing and maybe someone can confirm.
Faceting looks like it took this into account, i.e. the counts were 0 for
values that were in documents that I removed using my AnalyticQuery. I had
expected that the AnalyticsQuery mi
Thanks Yonik. I currently am using this to negate the score of a document
given the value of a particular field within the document, then using a
custom AnalyticQuery to only collect documents with a score > 0. Will this
also impact the faceting counts?
On Wed, Aug 26, 2015 at 8:32 PM, Yonik See
On Wed, Aug 26, 2015 at 6:20 PM, Jamie Johnson wrote:
> I don't see it explicitly mentioned, but does the boost only get applied to
> the final documents/score that matched the provided query or is it called
> for each field that matched? I'm assuming only once per document that
> matched the mai
I don't see it explicitly mentioned, but does the boost only get applied to
the final documents/score that matched the provided query or is it called
for each field that matched? I'm assuming only once per document that
matched the main query, is that right?
On Wed, Aug 26, 2015 at 5:35 PM, Jamie
I think I found it. {!boost..} gave me what i was looking for and then a
custom collector filtered out anything that I didn't want to show.
On Wed, Aug 26, 2015 at 1:48 PM, Jamie Johnson wrote:
> Are there any example implementation showing how StrDocValues works? I am
> not sure if this is th
Hello Jamie,
Check here
https://github.com/apache/lucene-solr/blob/7f721a1f9323a85ce2b5b35e12b4788c31271b69/lucene/sandbox/src/java/org/apache/lucene/search/DocValuesRangeQuery.java#L185
Note, SortedSet works there even if an actual field is multivalue=false
On Wed, Aug 26, 2015 at 8:48 PM, Jami