i have  plugged in my custom Analyzer (correctly) in the solrconfig.xml,

my analyzer result is : one world one dream

but when i input : oneworld onedream, solr parse this into :
PhraseQquery(title:"one world one dream") , solr consider this as a
PhraseQuery, but this is not what i want to get.  i want to get the search
condition: title:one title:world title:dream

2008/9/26 Chris Hostetter <[EMAIL PROTECTED]>

>
> : (correctly) in the solrconfig.xml.  Could you paste the relevant part of
> : solrconfig.xml?  I don't recall a bug related to this, but you could
> : also try Solr 1.3 if you believe you configured things conrrectly.
>
> also check the Analysis Tool (link from the admin page) and see what it
> says your analyzer produces for your field and a *query* for...
>
>        oneworld
>
> ...keep in mind that the query parser only associates "chunks" of text
> with something like "title:" if the text is quoted or the whitespace
> between the chunks is escaped, so ...
>
>        title:oneworld onedream
>
> ...will cause "oneworld" to be passed to the analyzer for your title field
> and "onedream" to the analyzer for whatever your default field is.
>
>
>
> -Hoss
>
>

Reply via email to