As per the documentation:
"So all downstream components (faceting, highlighting, etc...) will
work with the collapsed result set."
So, no, you cannot facet on expanded group. Partially because it is
not really fully expanded (there is a limit of items in each group).
But also, are trying to facet
Alexander - thanks! It seems to work great.
I still have a question - if I want to do a facet query that includes also
the documents in the expanded area. Is this possible? If I apply a facet
query like "facet=true&facet.field=modality" it counts only the head
documents.
Thanks,
Cristian.
On Sun
Assuming you have a unique id for each document the graph expression below
will get you what you're looking for.
The nodes function is short for gatherNodes described in the docs (
https://cwiki.apache.org/confluence/display/solr/Graph+Traversal). Starting
in 6.4 you can call the function "nodes"
Take a look at the graph expressions:
https://cwiki.apache.org/confluence/display/solr/Graph+Traversal
Joel Bernstein
http://joelsolr.blogspot.com/
On Sun, Feb 5, 2017 at 3:43 PM, Alexandre Rafalovitch
wrote:
> What about collapse and expand with overriden query. Something like
> this (against
What about collapse and expand with overriden query. Something like
this (against 6.4 techproducts example):
http://localhost:8983/solr/techproducts/select?expand.q=*:*&expand=true&fq={!collapse%20field=manu_id_s}&indent=on&q=name:CORSAIR&wt=json
Note that the main document area contains the head
Doesn't seem to work - I'm doing a query like this and I get only one result
q=pathology:normal&group=true&group.field=groupId&*group.limit=2*
On Sun, Feb 5, 2017 at 7:20 PM, Nick Vasilyev
wrote:
> Check out the group.limit argument.
>
> On Feb 5, 2017 12:10 PM, "Cristian Popovici" >
> wrote:
Check out the group.limit argument.
On Feb 5, 2017 12:10 PM, "Cristian Popovici"
wrote:
> Erick, thanks for you answer.
>
> Sorry - I forgot to mention that I do not know the group id when I perform
> the query.
> Grouping - I think - does not help for me as it filters out the documents
> that d
Erick, thanks for you answer.
Sorry - I forgot to mention that I do not know the group id when I perform
the query.
Grouping - I think - does not help for me as it filters out the documents
that do not meet the filter criteria.
Example:
*q=pathology:Normal&group=true&group.field=groupId* will mi
Isn't this just "&fq=groupId:223"?
Or do you mean you need multiple _groups_? In which case you can use
grouping, see:
https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
and/or
https://cwiki.apache.org/confluence/display/solr/Result+Grouping
but do note there are some li
Hi all,
I'm new to Solr and I need a bit of help.
I have a structure of documents indexed in Solr that are grouped together
by a property. I need to retrieve all groups where at least one entry in
the group matches a query.
Example:
I have two documents indexed and both share the *groupId *prope
10 matches
Mail list logo