Re: Yankee's Solr integration

2010-01-12 Thread Aleksander Stensby
They have probably added the logic for that server-side. Solr does not support these type of features, but they are easy to implement. Saving a search could be as easy as storing the selected query parameters. Then creating an alert (or RSS feed) for that would be a process on the server that exec

Re: help implementing a couple of business rules

2010-01-12 Thread Aleksander Stensby
For your first question, wouldn't it be possible to achieve that with some simple boolean logic? I mean, if you have a requirement to match any of the other fields AND description2, but not if it ONLY matches description 2: say matching x against field A, B, and description 2: ((A:x OR B:x) AND de

Re: Facets and distributed search

2010-01-05 Thread Aleksander Stensby
s... could you post an actual example? > > -Yonik > http://www.lucidimagination.com > > > On Mon, Jan 4, 2010 at 4:15 AM, Aleksander Stensby > wrote: > > Hi everyone! I've posted a similar question earlier, but in a thread > related > > to facets in general, so

Facets and distributed search

2010-01-04 Thread Aleksander Stensby
Hi everyone! I've posted a similar question earlier, but in a thread related to facets in general, so I thought I'd repost it here as a separate thread. I have a faceted search that is very fast when I executed the query on a single solr server, but is significantly slower when executed in a distr

Re: Optimize not having any effect on my index

2010-01-04 Thread Aleksander Stensby
:27 AM, gurudev wrote: > > Hi, > > Are you using the compound file format? If yes, then, have u set it > properly > in solrconfig.xml, if not, then, change to: > > true (this is by default 'false') under > the tags: > > ... > and, ... > >

Optimize not having any effect on my index

2009-12-18 Thread Aleksander Stensby
Hey guys, I'm getting some strange behavior here, and I'm wondering if I'm doing anything wrong.. I've got an unoptimized index, and I'm trying to run the following command: http://server:8983/solr/update?optimize=true&maxSegments=10&waitFlush=false Tried it first directly in the browser, it obvio

Re: Can solr do the equivalent of "select distinct(field)"?

2009-12-17 Thread Aleksander Stensby
hat is still as slow as if the shards param was pointed to a different server... Any insight into this would be greatly appreciated! (Would like to avoid having to hack together our own solution concatinating results...) Cheers, Aleks On Thu, Dec 17, 2009 at 7:36 PM, Erik Hatcher wrote: &

Re: Can solr do the equivalent of "select distinct(field)"?

2009-12-17 Thread Aleksander Stensby
Forgot to add facet.mincount=1, obviously. But still, is this the only or prefered way of doing something along these lines? Or is there a different (better) approach? Best regards, Aleksander On Thu, Dec 17, 2009 at 5:59 PM, Aleksander Stensby < aleksander.sten...@integrasco.com> wrote

Re: Can solr do the equivalent of "select distinct(field)"?

2009-12-17 Thread Aleksander Stensby
A follow up question on this Hoss: If I have a set of documents, let's say this email thread. Each email has a unique author. All emails in the thread are indexed with "threadid=33" If I want to count the number of unique authors in this email thread, I could go along the lines you mention at the e

Re: Sorting on primitive types

2009-09-21 Thread Aleksander Stensby
Perfect, thanks a heap Yonik! Cheers, Aleks On Mon, Sep 21, 2009 at 3:47 PM, Yonik Seeley wrote: > On Mon, Sep 21, 2009 at 3:30 AM, Aleksander Stensby > wrote: > > So I'm wondering if the Trie based field types are less memory expensive > > than the "old" Sor

Sorting on primitive types

2009-09-21 Thread Aleksander Stensby
Hey, I have a question regarding the primitive type definitions and use of those for sorting. I have an ID field in my index of type SortableLongField, and on my test index I have about 2 million documents. When doing a sort=id desc and q=*:* I'm getting out of memory (heap space)... running the i

Re: Can solr do the equivalent of "select distinct(field)"?

2009-08-28 Thread Aleksander Stensby
but you could use facets to do something similar as a "distinct where..." lets say you filter your query on something and want to know how many distinct "categories" that your results comprise. then you can facet on the category field and count the number of facet values that are returned, right? b

Re: Trie Date question

2009-08-28 Thread Aleksander Stensby
moment but will try out the new example data once its back up again then, because even though I changed my schema definitions, the two fields still gives back different results... :( I'll keep you updated. - Aleks On Fri, Aug 28, 2009 at 9:33 AM, Aleksander Stensby < aleksander.sten...@int

Re: Trie Date question

2009-08-28 Thread Aleksander Stensby
st the example data: > > http://localhost:8983/solr/select?q=manufacturedate_dt:[NOW/DAY-4YEAR%20TO%20NOW/DAY] > > -Yonik > http://www.lucidimagination.com > > > > On Thu, Aug 27, 2009 at 3:49 AM, Aleksander > Stensby wrote: > > Hello everyone, > > after read

Trie Date question

2009-08-27 Thread Aleksander Stensby
Hello everyone, after reading Grant's article about TrieRange capabilities on the lucid blog I did some experimenting, but I have some trouble with the tdate type and I was hoping that you guys could point me in the right direction. So, basically I index a regular solr date field and use that for s