highlighting phrasal hits

2006-12-11 Thread Edward Garrett
hello, i'm doing phrasal searches, and am not happy with how highlighting is done by default. if i search for something, like "w1 w2 w3", then correctly, only fields that match perfectly will be found. however, when i specify highlighting with hl=true&hl.fl=myfield, then two things don't work ac

New SOLR installation problems

2006-12-11 Thread Andrew Nagy
I installed the 12-8 snapshot of solr on my 64bit RH AS server and whenever I go to the admin page I get the following error: SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.solr.core.SolrCore Any ideas as to what

Re: New SOLR installation problems

2006-12-11 Thread Yonik Seeley
On 12/11/06, Andrew Nagy <[EMAIL PROTECTED]> wrote: I installed the 12-8 snapshot of solr on my 64bit RH AS server and whenever I go to the admin page I get the following error: SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NoClassDefFoundError: Could not initialize class o

Re: New SOLR installation problems

2006-12-11 Thread Andrew Nagy
Thanks Yonik for the reply. I am using tomcat, and there is nothing in the catalina.out file. The access log just reports the same error I see in the browser which is reported below. I am starting tomcat from my solr directory which has the data, bin and conf directories as subdirectories. So

Re: New SOLR installation problems

2006-12-11 Thread Andrew Nagy
Nevermind, I got it working now. Had the paths setup incorrectly. Dumb++ Andrew Andrew Nagy wrote: Thanks Yonik for the reply. I am using tomcat, and there is nothing in the catalina.out file. The access log just reports the same error I see in the browser which is reported below. I am sta

multiple collections

2006-12-11 Thread Andrew Nagy
I was wondering how I might create multiple collections that have different field sets under solr. Would I have to have multiple implementations of solr running, or can I have more than one schema.xml file per "collection" ? Thanks Andrew

Top Searches

2006-12-11 Thread sangraal aiken
I'm looking into creating something to track the top 10 - 20 searches that run through Solr for a given period. I could just create a counter object with an internal TreeMap or something that just keeps count of the various terms, but it could grow very large very fast and I'm not yet sure what i

Re: Top Searches

2006-12-11 Thread Yonik Seeley
On 12/11/06, sangraal aiken <[EMAIL PROTECTED]> wrote: I'm looking into creating something to track the top 10 - 20 searches that run through Solr for a given period. For offline processing, using log files is the simplest thing... the code remains separated, you can do historical processing if

Re: Top Searches

2006-12-11 Thread sangraal aiken
That's a great idea, thanks Yonik. -Sangraal On 12/11/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 12/11/06, sangraal aiken <[EMAIL PROTECTED]> wrote: > I'm looking into creating something to track the top 10 - 20 searches that > run through Solr for a given period. For offline processing,

Re: multiple collections

2006-12-11 Thread Chris Hostetter
: different field sets under solr. Would I have to have multiple : implementations of solr running, or can I have more than one schema.xml : file per "collection" ? currently the only supported way to do this is run multiple isntances of the solr.war ... if you look at the various container spec

How to query a parent child relationship returning result set of parents?

2006-12-11 Thread Eric Van Dewoestine
We are currently using solr to index various types of content in our system, several of which allow users to comment on. What we would like to do is issue a query on the top level content which also searches the attached comments but only returns unique top level documents as results, while still

Re: highlighting phrasal hits

2006-12-11 Thread Mike Klaas
On 12/11/06, Edward Garrett <[EMAIL PROTECTED]> wrote: hello, i'm doing phrasal searches, and am not happy with how highlighting is done by default. if i search for something, like "w1 w2 w3", then correctly, only fields that match perfectly will be found. however, when i specify highlighting w

Re: Suggestion for solr.war

2006-12-11 Thread Chris Hostetter
: application/xml : : : That causes the MIME type to get set explicitly and Firefox renders : the page properly, with or without IE Tab. thanks for the suggestion, i went ahead and added this to the Solr web.xml, but i used "application/xslt+xml" instead since it seems to work just as we

try setting useFilterForSortedQuery to false

2006-12-11 Thread Yonik Seeley
People may want to consider changing the useFilterForSortedQuery option from true to false (or commenting it out) in solrconfig.xml I believe it should result in a speedup for the average query that sorts on something other than score. Generating and using filters for base queries used to be a wi