Re: Solr Search Inconsistent result

2014-12-23 Thread Ankit Jain
Hi Ahmet, We are using the *java.util.UUID* to generate the unique id for each document. Thanks, Ankit Jain On Tue, Dec 23, 2014 at 1:32 PM, Ahmet Arslan wrote: > Hi Ankit, > > So you are using solr.UUIDUpdateProcessorFactory to pupolate unique keys? > > Ahmet > > On

Re: Solr Search Inconsistent result

2014-12-22 Thread Ankit Jain
ids are not unique across shards, people see inconsistent > results. > Please see : http://find.searchhub.org/document/2814183511b5a52 > > Ahmet > > > > On Monday, December 22, 2014 8:06 PM, Ankit Jain > wrote: > Hi Ahmet, > > Thanks for the response. > I am ru

Re: Solr Search Inconsistent result

2014-12-22 Thread Ankit Jain
Hi Ahmet, Thanks for the response. I am running this query from Solr Search UI. The number of shards for a collection is two. Thanks, Ankit On Mon, Dec 22, 2014 at 8:34 PM, Ahmet Arslan wrote: > Hi, > > Is this sharded query? > > Ahmet > > > On Monday, December 22,

Solr Search Inconsistent result

2014-12-22 Thread Ankit Jain
Hi All, We are getting inconsistent search result on searching on *multivalued* field: *Input Query:* ( t : [ 0 TO 1419245069253 ] )AND(_all:"impetus-i0111.impetus.co.in") The "_all" field is multivalued field. The above query is returning sometimes 11 records and sometimes 12471 records. Plea

Nested Facet Solr

2014-12-15 Thread Ankit Jain
Hi, I want to nested facet inside the range facet. Please help.. Thanks, Ankit Jain

Histogram Facet and Aggregation Solr

2014-12-11 Thread Ankit Jain
Hi All, We have an usecase where we want to perform histogram on 10 minutes time period and then each 10 mins time frame we have to perform facet on some field. We are currently using 4.7.2 version of Solr. Please suggest how we nested facet with histogram. -- Thanks, Ankit Jain

Re: Get list of collection

2014-12-04 Thread Ankit Jain
Thanks Shawn ... Thanks, Ankit On Wed, Dec 3, 2014 at 9:40 PM, Shawn Heisey wrote: > On 12/3/2014 2:51 AM, Ankit Jain wrote: > > Hi Erick, > > > > We are using the 4.7.2 version of solr and no getCollectionList() method > is > > present in CloudSolrServer class.

Group by on multiple fields and Stats Solr

2014-12-03 Thread Ankit Jain
Hi All, I need to perform the following queries into Solr: SELECT a, b, Sum(a) FROM tbl GROUP BY a, b. -- Thanks, Ankit Jain

Re: Get list of collection

2014-12-03 Thread Ankit Jain
Hi Erick, We are using the 4.7.2 version of solr and no getCollectionList() method is present in CloudSolrServer class. Regards, Ankit Jain On Tue, Dec 2, 2014 at 8:18 PM, Erick Erickson wrote: > I think you want CloudSolrServer.getCollectionList() > > Best, > Erick > > On T

Get list of collection

2014-12-02 Thread Ankit Jain
add(cores.getCoreStatus().getName(i)); } Please help. -- Thanks, Ankit Jain

JSON Query Format

2014-09-19 Thread Ankit Jain
ot;collection", "name1"); // server.setDefaultCollection("test"); QueryResponse response = server.query(query); SolrDocumentList results = response.getResults(); for (int i = 0; i < results.size(); ++i) { results.get(0); System.out.println(results.get(i)); } } Is their any QueryBuilder available in Solr to build the query? Regards, Ankit -- Thanks, Ankit Jain

Search on specific shard

2014-09-02 Thread Ankit Jain
h the documents for user1, then my query should be execute on only shard1 (shard1 contains the data of user1). Please let me know, how we can route the query to specific shard at search time. -- Thanks, Ankit Jain

Solr Data Routing

2014-09-02 Thread Ankit Jain
Hi All, I want to route data into shards depends on value of input column. For example: I am getting user data and want to store data of user1 on shard1 and user2 on shard2 and so on. Can you please let me know, how we can achieve the above scenario in Solr. -- Thanks, Ankit Jain

Re: Specify Analyzer per field

2014-08-31 Thread Ankit Jain
re is available in Solr ? I want to use schema less feature Solr because the schema is created at runtime as per user input. Regards, Ankit Jain On Sat, Aug 30, 2014 at 4:53 AM, Walter Underwood wrote: > Then don’t use schemaless. > > We need a LOT more info about the applicati

Execute Lucene query on Solr

2014-08-29 Thread Ankit Jain
Hi All, We would want to run the pure lucene queries on Solr. Can you please suggest some examples to achieve the above feature? -- Thanks, Ankit Jain

Specify Analyzer per field

2014-08-29 Thread Ankit Jain
Hi All, I would like to use schema less feature of Solr and also want to specify the analyzer of each field at runtime(specify analyzer at the time of adding new field into solr). Also, I want to use the different analyzer for same field type. -- Thanks, Ankit Jain