Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-31 Thread iorixxx
http://lucene.472066.n3.nabble.com/file/n859016/qa.writepublic.com.xml qa.writepublic.com.xml I modified your schema.xml You need to restart jetty and re-index you documents. After that in the solr admin page, if you search prefix_full:george clo prefix_token:(george clo) you will get your

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-28 Thread Ahmet Arslan
--- On Fri, 5/28/10, efr...@gmail.com efr...@gmail.com wrote: From: efr...@gmail.com efr...@gmail.com Subject: Re: Does SOLR Allow q= (A or B) AND (C or D)? To: solr-user@lucene.apache.org Date: Friday, May 28, 2010, 4:42 AM Hi Ahmet, Thanks again for the feedback. We will be searching

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-28 Thread efr...@gmail.com
Hi Ahmad, Thanks for this. So do we need this:*defType=luceneq.op=ORfl=Title* at the end? Also, I'm guessing we will need to install EdgeNGramFilterFactory? Here are the analyzers / filters we currently are using (just the default stuff): *Index Analyzer:

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
On Thu, May 27, 2010 at 5:34 PM, efr...@gmail.com efr...@gmail.com wrote: Hi all, I have a query need that requires multiple OR conditions, and, there must be a match in each condition for the query to provide a result. The search would be * (A or B) AND (C or D)* and the only valid results

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
I have a query need that requires multiple OR conditions, and, there must be a match in each condition for the query to provide a result. The search would be * (A or B) AND (C or D)* and the only valid results it could turn up are: A B A C B C B D Can anyone provide guidance as

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Thank you. That seems to be working well, except when I included a wild card for any of the terms, the wildcard term isn't being found out. My searches are actually: q=+(A A*) +(C C*)q.op=OR When I do a regular search on A* or C* I get matches but not in the context of the above query. The

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
Thank you. That seems to be working well, except when I included a wild card for any of the terms, the wildcard term isn't being found out. My searches are actually: q=+(A A*) +(C C*)q.op=OR When I do a regular search on A* or C* I get matches but not in the context of the above

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Erick Erickson
You can get a lot of mileage out of the admin analysis page and the full interface page, especially by turning on the debug option on the admin full interface page. It takes a bit of practice to read the debug output, but it's really, really, really worth it Best Erick On Thu, May 27, 2010

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Hi Ahmet, Thanks for the response again. The best way I could illustrate our live search feature is an example implementation: http://www.krop.com/ Notice when you search the word senior in the keywords field, the results filter down to just the job postings with that word in it. So it's not

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
Thanks for the response again. The best way I could illustrate our live search feature is an example implementation: http://www.krop.com/ Notice when you search the word senior in the keywords field, the results filter down to just the job postings with that word in it. So it's not

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Thanks, I found full interface :) On Thu, May 27, 2010 at 7:12 PM, Erick Erickson erickerick...@gmail.comwrote: You can get a lot of mileage out of the admin analysis page and the full interface page, especially by turning on the debug option on the admin full interface page. It takes a

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Responses in blue On Thu, May 27, 2010 at 7:32 PM, Ahmet Arslan iori...@yahoo.com wrote: Thanks for the response again. The best way I could illustrate our live search feature is an example implementation: http://www.krop.com/ Notice when you search the word senior in the

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread Ahmet Arslan
We don't mind the order of terms. We basically are sorting by two variables that are independent of relevency.  So I would assume the order doesn't matter... we just need to make sure any results we filter down to (as you saw in the krop.com example) contain the words the user has typed.

Re: Does SOLR Allow q= (A or B) AND (C or D)?

2010-05-27 Thread efr...@gmail.com
Hi Ahmet, Thanks again for the feedback. We will be searching several fields of each object in the index (title, description, tags). The matches on keywords need to be in any of these fields and there will be no different weights. Does this affect your solution? I'm trying to understand it as