[jira] Commented: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-12 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844437#action_12844437 ] Marcus Herou commented on SOLR-1814: Instead of having the file attached... http

Re: Abstractify FacetComponent and SimpleFacets

2010-03-12 Thread Marcus Herou
, 2010 at 5:49 PM, Marcus Herou marcus.he...@tailsweep.com wrote: I have now implemented Facet with FunctionQueries it is really cool! Sorry but even though the author of SimpleFacets (Yonik) says in the javadoc that one should subclass it to leverage more functionality I did not really

[jira] Issue Comment Edited: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-12 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844437#action_12844437 ] Marcus Herou edited comment on SOLR-1814 at 3/12/10 9:55 AM

[jira] Issue Comment Edited: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-12 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12844437#action_12844437 ] Marcus Herou edited comment on SOLR-1814 at 3/12/10 10:03 AM

[jira] Commented: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-12 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1286#action_1286 ] Marcus Herou commented on SOLR-1814: Ted: I am an idiot about ASL. GNU Trove ( I mixed

Re: CountComponent

2010-03-11 Thread Marcus Herou
Anon SVN http://svn.tailsweep.com/opensource/solr-contrib/ Cheers //Marcus On Wed, Mar 10, 2010 at 10:24 AM, Marcus Herou marcus.he...@tailsweep.comwrote: Filed it here. https://issues.apache.org/jira/browse/SOLR-1814 Did not change prio from major since that I guess is up to the community

Abstractify FacetComponent and SimpleFacets

2010-03-11 Thread Marcus Herou
if it is written good ? Cheers //Marcus -- Marcus Herou CTO and co-founder Tailsweep AB +46702561312 marcus.he...@tailsweep.com http://www.tailsweep.com/

Re: Abstractify FacetComponent and SimpleFacets

2010-03-11 Thread Marcus Herou
-30DAYSfacet.date.end=NOW/DAY%2B1DAYfacet.date.gap=%2B1DAY; *facet.outerFunction=sumfacet.innerFunction=blogRank* Can be found here http://svn.tailsweep.com/opensource/solr-contrib/trunk/src/main/java/org/apache/solr/handler/component/ Cheers //Marcus On Thu, Mar 11, 2010 at 9:23 PM, Marcus Herou marcus.he

[jira] Created: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-10 Thread Marcus Herou (JIRA)
Affects Versions: 1.4 Reporter: Marcus Herou I have seen questions on the mailinglist about having the functionality for counting distinct on a field. We at Tailsweep as well want to that in for example our blogsearch. Example: You had 1345 hits on 244 blogs The 244 part

[jira] Updated: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-10 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Herou updated SOLR-1814: --- Attachment: CountComponent.java It has dependencies to GNU Trove tested against v 2.0.2 http

Re: CountComponent

2010-03-10 Thread Marcus Herou
asking a different question? Steve On 03/09/2010 at 10:52 AM, Marcus Herou wrote: Hi. I've developed a SearchComponent named CountComponent which emulates the SQL equiv select count(distinct field)... I think that it perhaps should be put in contrib or such. How can I get this piece

[jira] Updated: (SOLR-1814) select count(distinct fieldname) in SOLR

2010-03-10 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Herou updated SOLR-1814: --- Fix Version/s: 1.4 2.0 1.6

CountComponent

2010-03-09 Thread Marcus Herou
Hi. I've developed a SearchComponent named CountComponent which emulates the SQL equiv select count(distinct field)... I think that it perhaps should be put in contrib or such. How can I get this piece of code into Solr ? Cheers //Marcus Herou -- Marcus Herou CTO and co-founder Tailsweep AB

Re: Short is buggish ?

2010-02-08 Thread Marcus Herou
the contents as a string so nothing is lost and // clients don't get a parse error. writer.writeStr(name, s, true); } /code And it makes me wonder if you are hitting the NFE. Can you recreate this in a self-contained test? -Grant On Feb 5, 2010, at 4:10 AM, Marcus Herou

Re: Short is buggish ?

2010-02-08 Thread Marcus Herou
, Marcus Herou marcus.he...@tailsweep.comwrote: Hi. Thanks for the quick response. We have looked through the shards trying to find a value which is greater than radix 10 which would throw this exception. We did not find any. We have values between 0 and 100 in that field. Would not SOLR complain

Short is buggish ?

2010-02-05 Thread Marcus Herou
/blogosphere-sv-2010Q1/select?q=(title:hej+OR+description:hej)+AND+(publishedDate:[2010-01-01T00:00:00.000Z+TO+2010-02-04T23:59:59.099Z])rows=5shards=127.0.0.1:8110/solr/blogosphere-sv-2010Q1,127.0.0.1:8110/solr/blogosphere-sv-2010Q1indent=onsort=sentimentScore+asc Cheers //Marcus Herou -- Marcus

[jira] Commented: (SOLR-139) Support updateable/modifiable documents

2009-04-25 Thread Marcus Herou (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12702778#action_12702778 ] Marcus Herou commented on SOLR-139: --- It would make sense of adding ParallelReader

Sort suggestion

2008-07-29 Thread Marcus Herou
a thought since I'm about to implement something which could sort any Comparable object but on disk. Guess the Hadoop project have the perfect tools for this since everything the mapred inputfiles are sorted, on disk and huge. Kindly //Marcus -- Marcus Herou CTO and co-founder Tailsweep AB

Re: Sort suggestion

2008-07-29 Thread Marcus Herou
playing with. - Mark Marcus Herou wrote: Guys. I've noticed many having trouble with sorting and OOM. Eventually they solve it by throwing more memory at the problem. Should'nt a solution which can sort on disk when neccessary be implemented in core Lucene ? Something like this: http