Re: Help using boolean operators

2010-04-20 Thread Erick Erickson
d1:this +field1:good +field1:string > > Is that ok to do. > > Thanks, > Sandhya > > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Tuesday, April 20, 2010 4:16 AM > To: solr-user@lucene.apache.org > Subject: Re: Help usi

RE: Help using boolean operators

2010-04-19 Thread Sandhya Agarwal
: Tuesday, April 20, 2010 4:16 AM To: solr-user@lucene.apache.org Subject: Re: Help using boolean operators ?id you try parenthesizing: field1:(This is a good string) You can try lots of things easily by going to http://localhost:8983/solr/admin/form.jsp and clicking the "debug enable" checkb

Re: Help using boolean operators

2010-04-19 Thread Erik Hatcher
Ah sorry... my bad. You're right. I thought you were referring to the admin analysis.jsp page, but I misread and replied to quickly. You're spot on, Erick. Erik On Apr 19, 2010, at 7:21 PM, Erick Erickson wrote: Hmmm, I *thought* I saw the XML response with the parsed query in

Re: Help using boolean operators

2010-04-19 Thread Erick Erickson
Hmmm, I *thought* I saw the XML response with the parsed query in it, did I miss the details *again*? Erick On Mon, Apr 19, 2010 at 7:15 PM, Erik Hatcher wrote: > Careful though... the Solr admin page is for *analysis* testing, not query > parsing. I saw that mentioned earlier too. To test que

Re: Help using boolean operators

2010-04-19 Thread Erik Hatcher
Careful though... the Solr admin page is for *analysis* testing, not query parsing. I saw that mentioned earlier too. To test query parsing, submit your query to http://localhost:8983/solr/select?q=your_query&debugQuery=true and look at the parsed query output. Erik On Apr 19, 20

Re: Help using boolean operators

2010-04-19 Thread Erick Erickson
?id you try parenthesizing: field1:(This is a good string) You can try lots of things easily by going to http://localhost:8983/solr/admin/form.jsp and clicking the "debug enable" checkbox... HTH Erick On Mon, Apr 19, 2010 at 12:23 PM, MitchK wrote: > > Erick, > > I am a little bit confused, be

Re: Help using boolean operators

2010-04-19 Thread MitchK
Erick, I am a little bit confused, because I wasn't aware of this fact (and have never noticed any wrong behaviour... maybe because I used the dismax-handler). How should I search for field1: This is a good string without doing something like field1:this field1:is ... ? If I quote the whole thi

Re: Help using boolean operators

2010-04-19 Thread Erick Erickson
e, *field3* is a dynamic field. All the other > fields except this field, are copied into "text" with copyField. > > Thanks, > Sandhya > > -Original Message- > From: Sandhya Agarwal [mailto:sagar...@opentext.com] > Sent: Monday, April 19, 2010 2:55 PM > T

RE: Help using boolean operators

2010-04-19 Thread Sandhya Agarwal
solr-user@lucene.apache.org Subject: RE: Help using boolean operators Thank You Mitch. I have a query mentioned below : (my defaultOperator is set to "AND") (field1 : This is a good string AND field2 : This is a good string AND field3 : This is a good string AND (field4 : ASCIIDocument OR fie

RE: Help using boolean operators

2010-04-19 Thread Sandhya Agarwal
HTMLDocument') and field5 = 'doc' to be returned. I am not sure why this is not giving me the desired results. Thanks, Sandhya -Original Message- From: MitchK [mailto:mitc...@web.de] Sent: Monday, April 19, 2010 2:19 PM To: solr-user@lucene.apache.org Subject: Re: Help u

Re: Help using boolean operators

2010-04-19 Thread MitchK
Hello Sandhya, title: star AND wars NOT sdi This query will match every document where "star" *and* "wars" occur but *not* the term "sdi" (SDI => Strategic Defense Initiative => in the media there was often the term star wars used to describe the project). title: star OR wars This query will mat