This is a bug (that code should no longer be expecting a SolrDocumentList)
Can you open a JIRA issue?
-Yonik
On Tue, Dec 20, 2016 at 12:02 PM, Yago Riveiro wrote:
> I'm hitting this exception in 6.3.0, any ideas?
>
> null:java.lang.Clas
3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)
-
Best regards
--
View this message in context:
http://lucene.472066.n3.nabble.com/ClassCastException-BasicResultContext-cannot-be-cast-to-SolrDocumentList-tp4310523.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hello,
I am using SolrCloud 4.5.1 with one shard and three replicas and I am
using the distributed mode.
I am using a custom SearchHandler which makes two sub-queries and merges
the responses.
When I merge the SolrQueryResponse objects I do the following casting :
SolrDocumentList
and test the performance.
> >
> >
> > Regards
> > Michael
> >
> >
> > On Sun, Oct 13, 2013 at 8:54 PM, Shawn Heisey wrote:
> >
> > > On 10/13/2013 8:34 AM, Michael Tyler wrote:
> > > > Hello,
> > > >
> > > > I
Sun, Oct 13, 2013 at 8:54 PM, Shawn Heisey wrote:
>
> > On 10/13/2013 8:34 AM, Michael Tyler wrote:
> > > Hello,
> > >
> > > I have 2 different solr indexes returning 2 different sets of
> > > SolrDocumentList. Doc Id is the foreign key relation.
>
mance.
Regards
Michael
On Sun, Oct 13, 2013 at 8:54 PM, Shawn Heisey wrote:
> On 10/13/2013 8:34 AM, Michael Tyler wrote:
> > Hello,
> >
> > I have 2 different solr indexes returning 2 different sets of
> > SolrDocumentList. Doc Id is the foreign key relation.
> &g
On 10/13/2013 8:34 AM, Michael Tyler wrote:
> Hello,
>
> I have 2 different solr indexes returning 2 different sets of
> SolrDocumentList. Doc Id is the foreign key relation.
>
> After obtaining them, I want to perform "AND" operation between them and
> then
r indexes returning 2 different sets of
> SolrDocumentList. Doc Id is the foreign key relation.
>
> After obtaining them, I want to perform "AND" operation between them and
> then return results to user. Can you tell me how do I get this? I am using
> solr 4.3
>
> SolrDocume
Hello,
I have 2 different solr indexes returning 2 different sets of
SolrDocumentList. Doc Id is the foreign key relation.
After obtaining them, I want to perform "AND" operation between them and
then return results to user. Can you tell me how do I get this? I am usin
for a query.
>
> So please can anyone help.
>
> I wrote a java code that returns the SolrDocumentList object which is a
> union of the results I want this object to be displayed on solr.
>
> hats is once the query is hit. The solr runs the java code i wrote and the
> ou
I am trying to modify the results of solr output . basically I need to
change the ranking of the output of solr for a query.
So please can anyone help.
I wrote a java code that returns the SolrDocumentList object which is a
union of the results I want this object to be displayed on solr.
hats
Set those fields to be single valued (not multivalued). And reindex :)
Erik
On Jun 2, 2012, at 0:10, gopes wrote:
> We are using Lucid UI and solr to index our collection of xml files. I am
> getting the solrDocumentList like this
> [SolrDocument[{id=1331226833510, Street_Addr=[
We are using Lucid UI and solr to index our collection of xml files. I am
getting the solrDocumentList like this
[SolrDocument[{id=1331226833510, Street_Addr=[113 113TH ST], name=[113 113TH
ST SASKATOON SK S7N1V8], Municipality_Name=[SASKATOON], Province_Code=[SK],
Postal_Code=[S7N1V8]}]
But I
OK, this description really sounds like an XY problem. Why do you
want to do this? What is the higher-level problem you're trying to solve?
Best
Erick
On Fri, Apr 20, 2012 at 9:18 AM, Ramprakash Ramamoorthy
wrote:
> Dear all,
>
> Is there any way I can convert a SolrDoc
Dear all,
Is there any way I can convert a SolrDocumentList to a DocList and
set it in the QueryResult object?
Or, the workaround adding a SolrDocumentList object to the
QueryResult object?
--
With Thanks and Regards,
Ramprakash Ramamoorthy,
Project Trainee,
Zoho Corporation
hey Tommaso,
That result grouping is during the query but i want to sort the
solrdocumentlist after it has been queried and i hv injected few solrdocs in
the solrdocumentlist. Thus i want this solrdocumentlist to be sorted based
on the fields i specify and cannot query the solr for result
Hi Kashif,
maybe the field collapsing feature [1] may help you with your requirement.
Hope this helps,
Tommaso
[1] : http://wiki.apache.org/solr/FieldCollapsing
by some fields and then take 20 records for paging. So i need some
shortcut for that.
--
Kashif Khan.
http://www.kashifkhan.in
On Wed, Feb 8, 2012 at 11:07 PM, iorixxx [via Lucene] <
ml-node+s472066n3726788...@n3.nabble.com> wrote:
> > I want to sort a SolrDocumentList after it has
> I want to sort a SolrDocumentList after it has been queried
> and obtained
> from the QueryResponse.getResults(). The reason is i have a
> SolrDocumentList
> obtained after querying using QueryResponse.getResults() and
> i have added
> few docs to it. Now i want to sort
Hi all,
I want to sort a SolrDocumentList after it has been queried and obtained
from the QueryResponse.getResults(). The reason is i have a SolrDocumentList
obtained after querying using QueryResponse.getResults() and i have added
few docs to it. Now i want to sort this SolrDocumentList based on
Hi All
I have 5 shards. (sh01 ~ sh05)
I was debugging using solrJ.
When I quiried at each shard, results are right.
But when I quiried at all shards, elementData of SolrDocumentList is null.
But numFound of SolrDocumentList is right.
How can I get the SolrDocumentList in shards?
Thanks in Advance
d documents is much more than
> 10. However, the size of SolrDocumentList is 10 and the getNumFound() is
> the exact count of results. When I need to iterate the results as follows,
> only 10 are displayed. How to get the rest ones?
>
> ..
>
Dear all,
I got a weird problem. The number of searched documents is much more than
10. However, the size of SolrDocumentList is 10 and the getNumFound() is the
exact count of results. When I need to iterate the results as follows, only
10 are displayed. How to get the rest ones
SolrDocumentList extends an ArrayList. You can iterate on it the way you
would do on a list. Here's an example
for(SolrDocument doc : listingSearchResponse.getResults()){
> System.out.print(doc.getFieldValue("yourFieldName"));
> }
>
Cheers
Avlesh
On Mon, May 4, 2009 a
Hi All,
I'm able to get the whole result bundle by using the following method,
QueryResponse qr = server.query(query);
SolrDocumentList sdl = qr.getResults();
but I'm not able to iterate over the results. I converted this to string and
displayed that and that
25 matches
Mail list logo