I'm having real trouble with the formatting. Either Google has changed or
somehow
all the markup is getting stripped on your end. Could you send as plain text
and
see if that works?

But from what I can make out, we're doing *something* different. Because I
get
parsed queries like below, and they're quite a bit different. So, additional
questions:
1> what version of Solr.
2> have you looked in your index (admin page and/or luke) to see if what you
have indexed
     there is what you think you have indexed there?
3> What happens if you just query for the raw phrase, q=productName:"bit
star"~3 or something?

Best
Erick

Here's what I get.....

+DisjunctionMaxQuery((id:bit/star^10.0 | text:"bit (star bitstar)"^0.5 |
cat:bit/star^1.4 | manu:"bit star"^1.1 | name:"bit star"^1.2 | features:"bit
(star bitstar)" | sku:bitstar^1.5)~0.01)
DisjunctionMaxQuery((manu_exact:bitstar^1.9 | features:"bit (star
bitstar)"~100^1.1 | text:"bit (star bitstar)"~100^0.2 | manu:"bit
star"~100^1.4 | name:"bit star"~100^1.5)~0.01)
FunctionQuery((1000.0/(1.0*float(float(price))+1000.0))^0.3)
FunctionQuery((int(popularity))^0.5)
*
*
*
*

On Fri, Apr 8, 2011 at 3:37 PM, alexw <aw...@crossview.com> wrote:

> Thanks Erick. Here is the Solr response with debug on. The productName IS
> in
> the qf parameter in dismax. I have also pasted my dismax definition and the
> "text" field type definition:
>
>
> -
>
> 0
> 47
> -
>
> on
> on
> 0
> bit/star
> dismax
> 10
> 2.2
>
>
>
> -
>
> -
>
> bit/star
>
>
> bit/star
> bit/star
> -
>
> +DisjunctionMaxQuery((longDesc:"bit star" | shortDesc:"bit star"^1.2 |
> productName:"bit star"^10.0)~0.01) DisjunctionMaxQuery((longDesc:"bit
> star"~10^5.0 | shortDesc:"bit star"~10^6.0 | productName:"bit
> star"~10^50.0)~0.01)
>
> -
>
> +(longDesc:"bit star" | shortDesc:"bit star"^1.2 | productName:"bit
> star"^10.0)~0.01 (longDesc:"bit star"~10^5.0 | shortDesc:"bit star"~10^6.0
> |
> productName:"bit star"~10^50.0)~0.01
>
>
> DisMaxQParser
>
>
> -
>
> 15.0
> -
>
> 0.0
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
>
> -
>
> 15.0
> -
>
> 15.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
> -
>
> 0.0
>
>
>
>
>
>
> =============================================
> Dismax Definition:
>
>
>
>     dismax
>     explicit
>     0.01
>
>        productName^10 shortDesc^1.2 longDesc^1.0
>
>
>        productName^50 shortDesc^6.0 longDesc^5.0
>
>
>
>        productName,shortDesc,thumbnail
>
>     3&lt;75%
>     10
>     *:*
>
>     text features name
>
>     0
>
>     name
>     regex
>
>
>       elevator
>       spellcheck
>
>
>
>
> =============================================
> "text" field type definition:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Special-characters-during-indexing-and-searching-tp2795914p2796760.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to