Newly observed Facets

2015-01-19 Thread harish singh
Hi, I have asked a question on Stackoverflow: http://stackoverflow.com/questions/28036051/solr-newly-observed-facets I searched the mailing list and found that not many reply there. So asking the same question here: have two fields in my solr index data: "userName" and "startTimeISO" along with

Re: Newly observed Facets

2015-01-19 Thread harish singh
t; name bla doesnt appear in different documents. For example usin: > > query: userName:bla > fq=startTimeISO:[NOW/DAY-1DAYS TO NOW] > fl= id,userName, startTimeISO > > > Hope it helps. > > > > > > On Tue, Jan 20, 2015 at 5:09 AM, harish singh > wrote: >

Re: Newly observed Facets

2015-01-20 Thread harish singh
Every entry in the document has a username, starttimeISO and uuid (which is not starttimeiso) So every record has a starttimeISO which is the time when the username was seen. The document looks like this: { Uuid: xxx StartTimeISO: 2015-01-18T00:00:00.000Z Username: abc } There are multiple recor

Re: Newly observed Facets

2015-01-20 Thread harish singh
ybe you have different documents with similar names > that where observed in different times? > > Regards. > > > > > > On Tue, Jan 20, 2015 at 9:45 AM, harish singh > wrote: > > > Every entry in the document has a username, starttimeISO and uuid (which > is

Re: Newly observed Facets

2015-01-20 Thread harish singh
ith nameA > as "user A" and nameB as "user B", and they are tokenized you will have > 3 different facets (not two): *user*, *A* and *B*. > > Regards. > > On Tue, Jan 20, 2015 at 10:05 AM, harish singh > wrote: > > > I am not querying for a specif

Re: Newly observed Facets

2015-01-20 Thread harish singh
y can be huge. Any other way to get around with? Any tool that solr provides? On Tue, Jan 20, 2015, 8:10 AM Shawn Heisey wrote: > On 1/20/2015 8:52 AM, harish singh wrote: > > Yes I got that. But I am still stuck at this point. Consider it like > this: > > I do not know what a

Re: Newly observed Facets

2015-01-20 Thread harish singh
e users that > were seen today > fq=-_query_:"{!join from=userName to=userName}startTimeISO:[NOW-30DAYS TO > NOW-1DAYS]" //dont include those documents that have others with the same > name and were viewed during the last 30 days. > > Regards. > > > > >

Re: Newly observed Facets

2015-01-20 Thread harish singh
Thanks Alvaro. That worked. On Tue, Jan 20, 2015 at 9:59 AM, harish singh wrote: > ok. So I am trying this query: > > > http://cluster1.com:8983/solr/my_collection_shard4_replica1/select?q=*%3A*&rows=0&wt=json&indent=true&facet=true&facet.field=userName&fq=s

Facet Double Counting

2015-01-24 Thread harish singh
Hi, I am noticing a strange behavior with solr facet searching: This is my facet query: - params: { - facet: "true", - sort: "startTimeISO desc", - debugQuery: "true", - facet.mincount: "1", - facet.sort: "count", - start: "0", - q: "requestType:(

Re: Facet Double Counting

2015-01-25 Thread harish singh
u purge deleted terms with > 'solr/core/update?commit=true&expungeDeletes=true' > > ahmet > > > > On Sunday, January 25, 2015 1:59 AM, harish singh < > harish.sing...@gmail.com> wrote: > Hi, > > I am noticing a strange behavior with

Re: Facet Double Counting

2015-01-25 Thread harish singh
in this case) is considered only while Search Queries? On Sun, Jan 25, 2015 at 3:15 AM, Toke Eskildsen wrote: > harish singh [harish.sing...@gmail.com] wrote: > > As you see, the result is showing Facet-Count for "loginUserName= harry" > is > > 36. > > > > So

SolrJ Facetting: changing sort order

2015-02-03 Thread harish singh
Hi, I am trying get the results of my facet-query in a sorted order. This is the code snippet: SolrQuery solrQuery = new SolrQuery(); solrQuery.setFacet(true); solrQuery.setFacetLimit(100); solrQuery.setFacetMinCount(1); solrQuery.setStart(0); solr

Total number of Facets

2015-02-09 Thread harish singh
While doing a facet query: example: - params: { - facet: "true", - indent: "true", - q: "*:*", - facet.field: "loginName", - wt: "json" } By defualt, Solr return 100 Facets. This is fine. If I do "facet.limit=-1", I can get all the facets. Now suppose,