Re: Question about similarity manipulation...

2007-01-02 Thread Chris Hostetter
: The DisjunctionMaxQuery seems to yield the maximum score only. From my NOTE: by setting the "tiebreaker" value of a DisjunctionMaxQuery to "1.0" it generates the sum of the scores : understanding, I would : need to do the following - : (1) Create a new similarity function : (2) Write a new Que

Re: Custom scorer...

2007-01-02 Thread Yonik Seeley
On 1/2/07, escher2k <[EMAIL PROTECTED]> wrote: Is there a way to specify a custom scorer in Solr using the XML configuration file ? I want to use the AND operator (e.g. "Lucene AND Solr") to search multiple fields and then add the similarity score for each field using a custom similiarity computa

Custom scorer...

2007-01-02 Thread escher2k
Is there a way to specify a custom scorer in Solr using the XML configuration file ? I want to use the AND operator (e.g. "Lucene AND Solr") to search multiple fields and then add the similarity score for each field using a custom similiarity computation for each. Thanks. -- View this message in

Re: How to tell the highlighter not to escape?

2007-01-02 Thread Edward Garrett
thorsten, see the following for discussion. your case is indeed an annoyance--the thread below discusses motivations for it and ways of working around it. (i too confess that i wish it were not so.) http://www.mail-archive.com/solr-user@lucene.apache.org/msg01483.html -edward On 1/2/07, Mike K

Re: Solr Flare

2007-01-02 Thread Erik Hatcher
On Jan 2, 2007, at 5:23 PM, Zaheed Haque wrote: Great! Wow! Well, as you've noted, it's still in its infancy. Being impressed will come a few weeks later, at least :) What are the difference between flare and act_as_solr as of today? As of today, tons... since acts_as_solr actually doe

Re: How to tell the highlighter not to escape?

2007-01-02 Thread Mike Klaas
Hi Thorsten, The highlighter does not escape anything itself: you are seeing the results of solr's automatic escaping of xml data within its xml response. This should be transparent (your xml decoder should un-escape the values on the way out). I'm not really familiar with xslt so I'm unsure wh

Re: Solr Flare

2007-01-02 Thread Zaheed Haque
Great! Wow! What are the difference between flare and act_as_solr as of today? I been playing around with ruby/rails for about a month and its fun! my thoughts were (i.e. after my playing around period) to create a frontend presentation framework and seems like you have already put the project i

result grouping?

2007-01-02 Thread Ryan McKinley
Is it possible to group the results from a solr query? I have indexed the content from many web pages on many sites. I'd like to return only two results from each site. schema.xml: for example uri: http://en.wikipedia.org/wiki/James_Madison site: wikipedia.org How do i get results

Re: Solr Flare

2007-01-02 Thread Erik Hatcher
On Jan 2, 2007, at 4:15 PM, Yonik Seeley wrote: Wow, awesome way to kick of the new year! All part of my plan for world dom^H^H^H peace! You may end up converting me to Ruby while you're at it ;-) Ruby is lots of fun... and with the goodness of Solr behind it, the UI experience will be t

Question about similarity manipulation...

2007-01-02 Thread escher2k
We have a requirement that requires an additive score and I am not sure if it is possible and what the right way to go about it is. Assume, there are three fields - (a) Project name - contains text (b) Project description - contains text (c) Profile score - numeric The basic idea is to implement

Re: Solr Flare

2007-01-02 Thread Yonik Seeley
Wow, awesome way to kick of the new year! You may end up converting me to Ruby while you're at it ;-) -Yonik On 1/2/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: I'm finally kicking off that long dreamed of Ruby/Solr DSL, including an accompanying general purpose web interface to showcase the gre

Solr Flare

2007-01-02 Thread Erik Hatcher
I'm finally kicking off that long dreamed of Ruby/Solr DSL, including an accompanying general purpose web interface to showcase the greatness of Solr's capabilities, including faceted browsing. I've titled the project Flare, and have committed the bits of low-level code into Solr's reposit

How to tell the highlighter not to escape?

2007-01-02 Thread Thorsten Scherler
Hi all, I am playing around with the highlighter and found that all highlight terms get escaped. I mean solr will return TERM and not TERM I am not sure where this escaping is happening but I would need the highlighting to NOT escape the hl.simple.pre and hl.simple.post tag since it

Re: Is there a BasicSummarizer for solr?

2007-01-02 Thread Thorsten Scherler
On Tue, 2007-01-02 at 08:14 -0500, Erik Hatcher wrote: > Thorsten - there is support for the Lucene Highlighter built into > Solr. You can see details of how to use it here: > > > >Erik > :) Cheers Erik, with this information

Re: Is there a BasicSummarizer for solr?

2007-01-02 Thread Erik Hatcher
Thorsten - there is support for the Lucene Highlighter built into Solr. You can see details of how to use it here: Erik On Jan 2, 2007, at 7:26 AM, Thorsten Scherler wrote: Hi all, I need to implement a summary function with

Is there a BasicSummarizer for solr?

2007-01-02 Thread Thorsten Scherler
Hi all, I need to implement a summary function with solr like there is in nutch. Basically it returns x words before and after the query term to show the content where the term is embedded (like as google does). In nutch this functionality is provided by http://svn.apache.org/viewvc/lucene/nutch