searching from command line?

2008-03-13 Thread peter360
Hi, Is anyone aware of a command line tool that builds and searches a solr index without running solr as a servlet? My plan is to do the following: build and validate an index on a single indexer machine, then push the index to a few search machines. It seems to me that there is no need to run

Re: searching from command line?

2008-03-14 Thread peter360
ting plugin, which allows you to interactively experiment with > Luke and Lucene indexes. This plugin also can run scripts from Luke > command-line. > -snip- > > - Jon > > On Mar 13, 2008, at 7:12 PM, peter360 wrote: > >> >> Hi, >> >> Is anyone aw

Re: searching from command line?

2008-03-14 Thread peter360
Thanks for your suggestion and I pretty much agree. Part of the reason, which I didn't mention in my original question, that I am looking for a command line tool is to use it for quick diagnosis. I could point it to a different index just by changing one of the command line parameters, without

capping term frequency?

2008-04-11 Thread peter360
Hi, How do I cap the term frequency when computing relevancy scores in solr? The problem is if a keyword repeats many times in the same document, I don't want it to hijack the relevancy score. Can I tell solr to cap the term frequency at a certain threshold? thanks. -- View this message in con

Re: capping term frequency?

2008-04-14 Thread peter360
eturn (float)Math.sqrt(freq); > } > > Then put that custom Similarity in a jar in Solr's lib and specify your > Similarity FQCN at the bottom of solrconfig.xml > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > - Original Message > Fro

Re: Interleaved results form different sources

2008-04-15 Thread peter360
How do you get the top N/2 results from each source? What if you have more than 2 sources? Mike Klaas wrote: > > By far the easiest way is to get the top N/2 results from each source > and interleave on the client side. > > regards, > -Mike > > -- View this message in context: http://w

top documented in faceted query?

2008-05-01 Thread peter360
The faceted query returns a list of values with associated doc count. Is it possible to also get the top document id associated with each value? Basically I want a "representative" for each facet group. What is the best way to achieve this? To be more precise, suppose the query "q=x&facet=true

dismax handler and WordDelimiterFilterFactory

2008-05-21 Thread peter360
Hi, Let's say I have an index with two fields: f1 and f2, and queries to both are analyzed using WhiteSpaceTokenizerFactory and WordDelimiterFilterFactory. I use dismax handler for queries and observed the following anomally. Suppose I have a document with f1="american" and f2="idol". Then a s