Re: Date Facet Giving Count more than actual

2009-11-05 Thread Aakash Dharmadhikari
Thanks Hoss, the problem is resolved. The real problem was my query parameter. I was storing daysForFilter with offset of 1 sec, and date in query parameter "facet.date.start" also had same offset. This was causing the overlaps, as in the facet value of 2009-10-23T18:30:01 was matching both 2009-1

Date Facet Giving Count more than actual

2009-10-24 Thread Aakash Dharmadhikari
hi guys, I am indexing events in solr, where every Event contains a startDate and endDate. On the search page, I would like to have a Date Facet where users can quickly browse through dates they are interested in. I have a field daysForFilter in each document which stores timestamps from t

Using mincount with date facet in Solr 1.4

2009-10-10 Thread Aakash Dharmadhikari
hi, I am creating facets on a field of type The field can contain any number of dates even 0. I am making a facet query on the field with following query parameters: facet.date=daysForFilter facet.date.gap=%2B1DAY facet.date.end=2009-10-16T00:00:00Z facet=true facet.date.start=

Re: Creating facet query using SolrJ

2009-09-09 Thread Aakash Dharmadhikari
rQuery.set("f.myField.facet.limit",10) ... > to pass field specific facet params to the SolrServer. > > Cheers > Avlesh > > On Wed, Sep 9, 2009 at 2:42 PM, Aakash Dharmadhikari >wrote: > > > hello, > > > > I am using SolrJ to access solr indexe

Creating facet query using SolrJ

2009-09-09 Thread Aakash Dharmadhikari
hello, I am using SolrJ to access solr indexes. When constructing query, I create a lucene query and use query.toString to create SolrQuery. I am facing difficulty while creating facet query for individual field, as I could not find an easy and clean way of constructing facet query with param

Re: how to scan dynamic field without specifying each field in query

2009-09-04 Thread Aakash Dharmadhikari
what all other searches you would like to perform on these fields? >From the proposed function definition I believe that when foo*:3 is to be searched all foo* would be searched and none are to be excluded. Assuming that this is the only search that are to be performed on these fields, we might de

Re: Schema for group/child entity setup

2009-09-04 Thread Aakash Dharmadhikari
can't you store the locations as part of the parent listing while storing. This way there would be only one document per parent listing. And all the locations related information can be multi valued attributes per property or any other way depending on the attributes. 2009/9/3 R. Tan > Hi Solrer

Re: A very complex search problem.

2009-09-02 Thread Aakash Dharmadhikari
hi Rajan, More knowledgeable people might be able to provide better insight into the performance issues, but I have a doubt around this ORing business. The best option I see is storing all my friends IDs in my documents as multi valued field. This in contrast to OR queries would make queryin

Re: Adding docs from MySQL and php

2009-09-01 Thread Aakash Dharmadhikari
hi Pablo, DataImportHandler might be the best option for you. check this link http://wiki.apache.org/solr/DataImportHandler regards, aakash On Tue, Sep 1, 2009 at 9:18 PM, Pablo Ferrari wrote: > Hello all, > > I'm new to the list and new to Solr. My name is Pablo, I'm from Spain and > I'm dev

Re: How to set similarity to catch more results ?

2009-08-31 Thread Aakash Dharmadhikari
hi Kaoul, There are multiple ways that you can use to get the desired results. - Stemming - this makes all forms of a word (e.g. Run, Running, Runner) match to its stem or root word Run. - Synonyms - this will take a list of synonyms from you and would match veg = vegetarian and ev