Hi,
Is it possible to configure sorting on json.facet in solrconfig.xml just
like for traditional facets?
Thanks,
Soham
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
: 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
Hello all,
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
s for this query?“.
> The keywords should be sorted by the summed score of each keyword in a doc.
>
> To do this, I’ve tried to use the JSON Facet API to sort by the sum of all
> keyword payloads. But I couldn’t find a way to use the payload function
> within the facet sorting.
>
&
t;Which are the most relevant keywords for this query?“. The
keywords should be sorted by the summed score of each keyword in a doc.
To do this, I’ve tried to use the JSON Facet API to sort by the sum of all
keyword payloads. But I couldn’t find a way to use the payload function within
the facet
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
uot; has lower ord than character 8, if \" is " then this sort
makes sense ...
My question here is how index sort works and how I can replicate it in C++
-
Best regards
--
View this message in context:
http://lucene.472066.n3.nabble.com/Facet-sorting-algorithm-for-index-tp4197174
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
com]
Sent: 15 July 2013 15:08
To: solr-user@lucene.apache.org
Subject: Facet sorting seems weird
Hello, first time writing to the list. I am a developer for a company where we
recently switched all of our search core from Sphinx to Solr with very great
results. In general we've been very
Hello, first time writing to the list. I am a developer for a company where we
recently switched all of our search core from Sphinx to Solr with very great
results. In general we've been very happy with the switch, and everything seems
to work just as we want it to.
Today however we've run into
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
Quick question -
Is it possible to sort some facets by Lex, and others by numeric value?
>From everything I've seen, it's either all or none, with no in between. Was
just curious if that was not the case.
Getting around it by doing post-sorting with comparators, but thought I may
not need that s
ric Grobler
> wrote:
> > Hi Solr experts,
> >
> > There is a huge difference doing facet sorting on lex vs count
> > The strange thing is that count sorting is fast when setting a small
> limit.
> > I realize I can do sorting in the client, but I am just cur
On Wed, Aug 25, 2010 at 7:22 AM, Eric Grobler wrote:
> Hi Solr experts,
>
> There is a huge difference doing facet sorting on lex vs count
> The strange thing is that count sorting is fast when setting a small limit.
> I realize I can do sorting in the client, but I am just curi
On Wed, Aug 25, 2010 at 2:50 PM, Yonik Seeley
wrote:
> On Wed, Aug 25, 2010 at 10:55 AM, Eric Grobler
> wrote:
>> Thanks for the technical explanation.
>> I will in general try to use lex and sort by count in the client if there
>> are not too many rows.
>
> I just developed a patch that may help
On Wed, Aug 25, 2010 at 10:55 AM, Eric Grobler
wrote:
> Thanks for the technical explanation.
> I will in general try to use lex and sort by count in the client if there
> are not too many rows.
I just developed a patch that may help this scenario:
https://issues.apache.org/jira/browse/SOLR-2089
esides optimizations, we could also implement options to store all
> values and eliminate the need to read the index to do the ord->string
> conversions.
>
> -Yonik
> http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8
>
>
> > Regards
> > Eric
> >
->string
conversions.
-Yonik
http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8
> Regards
> Eric
>
> On Wed, Aug 25, 2010 at 3:28 PM, Yonik Seeley
> wrote:
>>
>> On Wed, Aug 25, 2010 at 7:22 AM, Eric Grobler
>> wrote:
>> > There is
speed regresses linearly, 30ms for 10, 300ms for 1000 etc.
Regards
Eric
On Wed, Aug 25, 2010 at 3:28 PM, Yonik Seeley wrote:
> On Wed, Aug 25, 2010 at 7:22 AM, Eric Grobler
> wrote:
> > There is a huge difference doing facet sorting on lex vs count
> > The strange thing is tha
On Wed, Aug 25, 2010 at 7:22 AM, Eric Grobler wrote:
> There is a huge difference doing facet sorting on lex vs count
> The strange thing is that count sorting is fast when setting a small limit.
> I realize I can do sorting in the client, but I am just curious why this is.
There are
Hi Solr experts,
There is a huge difference doing facet sorting on lex vs count
The strange thing is that count sorting is fast when setting a small limit.
I realize I can do sorting in the client, but I am just curious why this is.
FAST - 16ms
facet.field=city
f.city.facet.limit=5000
What version of Solr are you using?
I just tried this with the latest 1.4-dev version, and it works fine.
http://localhost:8983/solr/select?q=*:*&facet=true&facet.field=cat&facet.sort=true
Note that facet.sort=true/false has been deprecated in Solr 1.4
http://wiki.apache.org/solr/SimpleFacetParame
We have &facet.sort=true however our hierarchical fields are being
sorted alphabetically instead of by count.
Here is the field type and field definitions:
omitNorms="true" positionIncrementGap="0" indexed="true"
stored="false" delimiter="/"/>
multiValued="true"/>
Any help is much appreciat
Hi,
I am attempting to perform a faceted distributed search with manual
sorting of the value of a facet. Is this something which is possible
through a Solr query or would I be better off inserting a manual
weighting field and sort by that?
To clarify - I am performing a distributed search over
: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
ct of this change, or why it is not
like this by default I'd be very interested to hear.
Thanks,
Simon
-Original Message-
From: Simon Stanlake [mailto:sim...@tradebytes.com]
Sent: Thursday, July 30, 2009 7:28 PM
To: 'solr-user@lucene.apache.org'
Subject: facet sorting by in
Hi,
I have a field in my schema specified using
Where "sint" is specified as follows (the default from schema.xml)
When I do a facet on this field using sort=index I always get the values back
in lexicographic order. Eg: adding this to a query string...
facet=true&facet.field=wordCount&
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
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 products in each of the highest-boosted
category).
Thanks!
44 matches
Mail list logo