Ahmet Arslan <iorixxx <at> yahoo.com> writes:

> 
> > (title:"Call of Duty" OR subhead:"Call of Duty")
> > 
> > No matches, despite the fact that there are many documents
> > that should match.
> 
> Field types of  title and subhead are important here. Do you use
stopwordfilterfactory with enable
> position increments? 

   <field name="title" type="text" indexed="true" stored="true"/>
   <field name="subhead" type="text" indexed="true" stored="true"/>

text is the default that comes with schema.xml, it has the enable position
increments stopwordfilterfactory.

> What is you solr version?

1.4


> > So I left out the quotes, and it seems to work.  But
> > now when I try doing things
> > like
> > 
> > title:Call of Duty OR subhead:Call of Duty AND type:4
> > 
> 
> Try using parenthesis. 
> title:(Call of Duty) OR subhead:(Call of Duty) AND type:4

that seems to work a lot better, thanks!!

Reply via email to