To get a more precise result on exact matches of your terms, how about
having another a string type field for title and subhead. And use dismax to
boost the string type fields more than the text type fields.

Cheers
-- Imran

On Fri, Nov 12, 2010 at 6:56 PM, Jon Drukman <j...@cluttered.com> wrote:

> 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