: Chris, I was trying the below method for sorting the faceted buckets but
: am seeing that the function query query($q) applies only to the score
: from “q” parameter. My solr request has a combination of q, “bq” and
: “bf” and it looks like the function query query($q) is calculating the
: s
Chris, I was trying the below method for sorting the faceted buckets but am
seeing that the function query query($q) applies only to the score from “q”
parameter. My solr request has a combination of q, “bq” and “bf” and it looks
like the function query query($q) is calculating the scores only o
Thank You Chris for an immediate response. I am using json facets and my
question was for json facets and using solr 7.2.1. Will try your approach.
Basically I want to use an average of the scores than the sum of the scores and
sort those buckets based on the average score. The scores am assumin
: If I want to plug in my own sorting for facets, what would be the best
: approach. I know, out of the box, solr supports sort by facet count and
: sort by alpha. I want to plug in my own sorting (say by relevancy). Is
: there a way to do that? Where should I start with if I need to write a
On Thu, Apr 2, 2015 at 9:44 AM, Yago Riveiro wrote:
> Where can I found the source code used in index sorting? I need to ensure
> that the external data has the same sorting that the facet result.
If you step over the indexed terms of a field you get them in sorted
order (hence for a single node
The result is a custom responseWriter, I found a bug in my code that append de
\ to “.
The JSON response shows the data without the \.
Where can I found the source code used in index sorting? I need to ensure that
the external data has the same sorting that the facet result.
—
/Yago Rivei
On Thu, Apr 2, 2015 at 6:36 AM, yriveiro wrote:
> Hi,
>
> I have an external application that use the output of a facet to join other
> dataset using the keys of the facet result.
>
> The facet query use index sort but in some point, my application crash
> because the order of the keys "is not cor
gards,
Henrik Ossipoff
-Original Message-
From: Alexandre Rafalovitch [mailto:arafa...@gmail.com]
Sent: 15. juli 2013 17:16
To: solr-user@lucene.apache.org
Subject: Re: Facet sorting seems weird
Hi Henrik,
If I understand the question correctly (case-insensitive sorting of the facet
v
t: 15. juli 2013 17:08
To: solr-user@lucene.apache.org
Subject: RE: Facet sorting seems weird
Hi Henrik,
We did something related to this that I'll share. I'm rather new to Solr so
take this idea cautiously :-) Our requirement was to show exact values but have
case-insensitive so
Alex,
You could submit a JIRA ticket, and add an option like facet.sort =
insensitive, and f.<> syntax
Then we all get the benefit of the new feature.
On Mon, Jul 15, 2013 at 9:16 AM, Alexandre Rafalovitch
wrote:
> Hi Henrik,
>
> If I understand the question correctly (case-insensitive sortin
Hi Henrik,
If I understand the question correctly (case-insensitive sorting of the
facet values), then this is the limitation of the current Facet component.
You can see the full implementation at:
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/handler/compone
nal Message-
From: David Quarterman [mailto:da...@corexe.com]
Sent: 15. juli 2013 16:46
To: solr-user@lucene.apache.org
Subject: RE: Facet sorting seems weird
Hi Henrik,
Try setting up a copyfield in your schema and set the copied field to use
something like 'text_ws' which implements L
t: 15. juli 2013 16:46
To: solr-user@lucene.apache.org
Subject: RE: Facet sorting seems weird
Hi Henrik,
Try setting up a copyfield in your schema and set the copied field to use
something like 'text_ws' which implements LowerCaseFilterFactory. Then sort on
the copyfield.
Regards,
DQ
Hi Henrik,
Try setting up a copyfield in your schema and set the copied field to use
something like 'text_ws' which implements LowerCaseFilterFactory. Then sort on
the copyfield.
Regards,
DQ
-Original Message-
From: Henrik Ossipoff Hansen [mailto:h...@entertainment-trading.com]
Sent:
Aaahhh.. missed that.
So if I'm using SolrJ, do I need to set that explicitly through set(); or
can I use setFacetSort() somehow? ('cause I can't find an example anywhere,
and it's not inherently obvious).
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrQuery.html#setFacetSort(j
On Mon, Apr 18, 2011 at 1:10 AM, Mark Mandel wrote:
> Is it possible to sort some facets by Lex, and others by numeric value?'
Yes, see
http://wiki.apache.org/solr/SimpleFacetParameters#Parameters
Example of per-field overrides:
facet.field=foo
facet.field=bar
f.foo.facet.sort=count
f.bar.face
:ysee...@gmail.com] On Behalf Of Yonik Seeley
Sent: Tuesday, August 04, 2009 2:28 PM
To: solr-user@lucene.apache.org
Subject: Re: facet sorting by index on sint fields
On Thu, Jul 30, 2009 at 10:28 PM, Simon Stanlake wrote:
> Hi,
> I have a field in my schema specified using
>
>
>
> Where
On Tue, Aug 4, 2009 at 5:27 PM, Yonik Seeley wrote:
>> Is this a current limitation of solr faceting or am I missing a
>> configuration step somewhere? I couldn't find any notes in the docs about
>> this.
>
> This is not the intention - seems like a bug somewhere. Is it still
> broken in trunk?
On Thu, Jul 30, 2009 at 10:28 PM, Simon Stanlake wrote:
> Hi,
> I have a field in my schema specified using
>
>
>
> Where "sint" is specified as follows (the default from schema.xml)
>
> omitNorms="true"/>
>
> When I do a facet on this field using sort=index I always get the values back
> in lex
To solve this issue I created a subclass of SortableIntField that overrides the
getSortField() method as follows...
@Override
public SortField getSortField(SchemaField field, boolean reverse) {
return new SortField(field.getName(), SortField.INT, reverse);
apparently it does. what a great contriibution! got it to work with
1.4-dev. hopefully it will get into the stable release.
On Sun, Jul 26, 2009 at 4:39 PM, Michael Lugassy wrote:
> intresting. will that patch work in 1.4?
>
> On Sun, Jul 26, 2009 at 9:56 AM, Shalin Shekhar
> Mangar wrote:
>> On S
intresting. will that patch work in 1.4?
On Sun, Jul 26, 2009 at 9:56 AM, Shalin Shekhar
Mangar wrote:
> On Sun, Jul 26, 2009 at 3:51 AM, Michael Lugassy wrote:
>
>> I'm using something along ?q=_val_:"product(field1,0.5)" and was
>> wondering whether I could facet with category_id so that I get
On Sun, Jul 26, 2009 at 3:51 AM, Michael Lugassy wrote:
> I'm using something along ?q=_val_:"product(field1,0.5)" and was
> wondering whether I could facet with category_id so that I get the
> single best document (product) for each category_id (not intrested in
> more than 5 of the best product
23 matches
Mail list logo