ing to just the ID?
> Something along the line of:
>
> query.setRows(Integer.MAX_VALUE);
> query.setFields("id");
>
> Might speed the query up a little.
>
>
> On 23 Jul 2009, at 09:11, shb wrote:
>
> Here id is indeed the uniqueKey of a document.
>> I
Here id is indeed the uniqueKey of a document.
I want to get all the ids for some other useage.
2009/7/23 Shalin Shekhar Mangar
> On Thu, Jul 23, 2009 at 1:09 PM, shb wrote:
>
> > if I use query.setRows(Integer.MAX_VALUE);
> > the query will become very slow, because searc
ows(Integer.MAX_VALUE);
>
> Cheers
> Avlesh
>
> On Thu, Jul 23, 2009 at 8:15 AM, shb wrote:
>
> > When I use
> > SolrQuery query = new SolrQuery();
> > query.set("q", "issn:0002-9505");
> > query.setRows(10);
When I use
SolrQuery query = new SolrQuery();
query.set("q", "issn:0002-9505");
query.setRows(10);
QueryResponse response = server.query(query);
I only can get the 10 ids in the response.
How can i get all the docIds in the search result? Thanks.
Thanks very much. Is there any difference between fieldValueCache and
fieldCache?
The FieldValueCache plays a important role in sort and facet of solr. But
this cache is not managed by solr,
is there any way to configure it? thanks!
you can refer to the facet search of solr, that might help you.
2009/7/10 Bradford Stephens
> Greetings,
>
> We've been experimenting with grouping fields returned from document
> search results in Lucene, and we haven't gotten anything very
> encouraging. Basically, the more results we return,
>java.net.ConnectException: Connection refused
> at
>org.apache.solr.client.solrj.
>impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:391)
The "Connection refused" error is caused becaused that the servers have been
stopped.
I>Are you sure both servers are running properly? You can h
Sorry, the error is as follows. I have read the solr wiki carefully and
google it, but I haven't founded
any related question or solution, any one can help me, thanks!
org.apache.solr.client.solrj.SolrServerException: Error executing query
at
org.apache.solr.client.solrj.request.QueryRequest.
In my project, I am trying to do a distributed search sorted by some field
using solr. The test code is
as follows:
SolrQuery query = new SolrQuery();
query.set("q", "id:[1 TO *]");
query.setSortField("id",SolrQuery.ORDER.asc);
query.setParam("shards", "localhost:8983/solr, localhost:7574/solr");
10 matches
Mail list logo