RE: Preferential boosting

2008-03-21 Thread Chris Hostetter
: Now we come to another question: why doesn't X OR -X select the entire : index? you really can't mix the AND/OR syntax with the +/- syntax ... AND and OR just apply options to the clauses on either side... X OR -X is the same thing as X -X ... debugQuery=true will show you this in the

Re: highlighting: requireFieldMatch not returning anything even if field matches

2008-03-21 Thread Chris Hostetter
: A query with highlighting and requireFieldMatch like so: : .../select?q=%22U2%22hl=truehl.fl=content : hl.requireFieldMatch=truehl.fragsize=500hl.snippets=5hl.simple.pre= : %3Cspan%3Ehl.simple.post=%3C/span%3E : : does not return highlighting for this document (it is returned as a query :

Nullpointer when using QuerySenderListener

2008-03-21 Thread Thijs
I'm developing against solr trunk and I wanted to start using the newSearcher ans firstSearcher functionality. However I'm getting a nullpointer exception when I startup my solr instance . Stacktrace: INFO: QuerySenderListener sending requests to [EMAIL PROTECTED] main Mar 21, 2008 4:31:20 PM

Re: Slow Highlighting - CopyField maxSize property

2008-03-21 Thread Koji Sekiguchi
Hello Nocolas, This has been in the back of my mind for a time. Can you make a patch for it? I'd like to use it. Thank you, Koji [EMAIL PROTECTED] wrote: Hi all, I would like to propose a new property on copy fields that limit the number of characters that are copied. The use

Survey: How do you store your fields?

2008-03-21 Thread Stuart Sierra
To Solr users: I'm curious: do you store everything in a database and just use Solr for indexing/searching, or do you store everything in Solr so that your search results come back with context? Or something in between? (I know if you want highlighting you have to store those fields.) At the

Re: Survey: How do you store your fields?

2008-03-21 Thread Evgeniy Strokin
We store all needed fields in Solr, but we have only 20 stored fields out of 100+ indexed. Our requirements is to show 20 fields after searching, and when clients are happy with the result (usually after several searches), we append all others from DB. Of course it takes a while, because our DB

Re: Survey: How do you store your fields?

2008-03-21 Thread Erick Erickson
As always, it depends. Just from a complexity perspective, my first choice is to store everything in one repository. If I can store everything in Lucene, I'm a happy camper. If I *must* use a database, I'd prefer to store everything there if possible. I only use both if I can't avoid it because

stopwords and phrase queries

2008-03-21 Thread Phillip Farber
Am I correct that if I index with stop words: to, be, or and not then phrase query to be or not to be will not retrieve any documents? Is there any documentation that discusses the interaction of stop words and phrase queries? Thanks. Phil

Re: Tomcat 6.0 solr home not set (solved)

2008-03-21 Thread Chris Hostetter
: b) the need for a solr home directory and what that is for / what that means There is some info aboutthis on the general SolrInstall page... http://wiki.apache.org/solr/SolrInstall which referes to example/solr (where a README.txtfile goes into more details) If you (coming from the

RE: stopwords and phrase queries

2008-03-21 Thread Lance Norskog
Yes. Our in-house example is the movie title The Sound Of Music. Given in quotes as a phrase this will pull up anystopword Sound anystopword Music. For example, A Sound With Music. Your example is also a test case of ours. For some Lucenicious reason six stopwords in a row does not find anything.

Re: stopwords and phrase queries

2008-03-21 Thread Walter Underwood
We do a similar thing with a no stopword, no stemming field. There are a surprising number of movie titles that are entirely stopwords. Being There was the first one I noticed, but To be and to have wins the prize for being all-stopwords in two languages. See my list, here:

unsubscribe

2008-03-21 Thread Amrit Jassal
unsubscribe On Thu, Mar 20, 2008 at 8:01 PM, xunzhang huang [EMAIL PROTECTED] wrote: Hi, everyone After I add a Analyzer to solr, there is a exception ClassCaseException error and solr cannot be started. the detail is: environment: solr 1.2, jdk 1.6.03, ubuntu linux 7.10, and a chinese

Reusing lucene index file in Solr

2008-03-21 Thread Raghav Kapoor
Hi All: I have a simple question : How can we re-use an existing lucene index file (.cfs) in Solr and search on it in solr? I need to do this as the index is created on one machine(client) to be used by solr server for searching. The solr server will refer to this index file by some http url. We