Let's see the raw query you send from your webapp.

Based on this:
+(author_split:joy^80.0)~1.0 ()

I'm going to guess you send your query something like
blahblahblah&defType=edismax&blahblahblah

rather than
blahblahblah&qt=edismax&blahblahblah

The former expects you to define the all your parameters on the URL
(e.g. the qf, mm, etc). The latter looks for a request handler named
"edismax"
in your solrconfig.xml.

Which is really confusing....

This may be irrlevant, but I know I stumbled over this and so I thought I'd
mention it.

Best
Erick

2011/4/14 Marek Tichy <ma...@gn.apc.org>

> Hi,
>
> I'd really appreciate if somebody could help me.
> Solr 3.1, I have a (multivalued) field called author_split, which splits
> original author names, i.e. "Mills, Joy". When I use the solr web
> interface to enter
>
>    author_split:mills
>
> the ExtendedDismaxQParser produces query
>
>    +author_split:mills
>
> which returns 12 results. When I try
>
>   +author_split:joy
>
> it returns 15 results (Fielding, Joy is responsible for the extra 3).
> And now the mystery:
>
> When I use my web app, entering query mills produces
> (parsedquery_toString):
>
>    +(author_split:mills^80.0)~1.0 ()
>
> and that gives NO RESULTS !
>
> However, the other search
>
>    +(author_split:joy^80.0)~1.0 ()
>
> returns the expected 15 results ?
>
> Many thanks for any reply, I'l loosing hope !
>
> Marek Tichy
>
>
> PS: Below is the of parameters I'm sending alongside and the fieldtype
> definition
>
>    *
>      mm (String, 1 characters ) 1
>    *
>      facet (String, 2 characters ) on
>    *
>      facet.mincount (String, 1 characters ) 1
>    *
>      tie (String, 1 characters ) 1
>    *
>      qf (String, 17 characters ) author_split^80.0
>    *
>      json.nl (String, 3 characters ) map
>    *
>      wt (String, 4 characters ) json
>    *
>      version (String, 3 characters ) 1.2
>    *
>      rows (String, 2 characters ) 10
>    *
>      pf (String, 0 characters )
>    *
>      debugQuery (String, 4 characters ) true
>    *
>      start (String, 1 characters ) 0
>    *
>      q (String, 5 characters ) mills
>    *
>      facet.field (Array, 2 elements) | (Callback) publisher::author();
>    *
>      qt (String, 11 characters ) partitioned
>
>
> <fieldType name="text_ws" class="solr.TextField"
> positionIncrementGap="100">
>      <analyzer type="index">
>        <charFilter class="solr.MappingCharFilterFactory"
> mapping="mapping-FoldToASCII.txt"/>
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>        <filter class="solr.WordDelimiterFilterFactory"
>                generateWordParts="1"
>                generateNumberParts="0"
>                catenateWords="0"
>                catenateNumbers="0"
>                catenateAll="0"
>                splitOnCaseChange="0"
>                preserveOriginal="0"/>
>      </analyzer>
>      <analyzer type="query">
>        <charFilter class="solr.MappingCharFilterFactory"
> mapping="mapping-FoldToASCII.txt"/>
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>        <filter class="solr.WordDelimiterFilterFactory"
>                generateWordParts="1"
>                generateNumberParts="0"
>                catenateWords="0"
>                catenateNumbers="0"
>                catenateAll="0"
>                splitOnCaseChange="0"
>                preserveOriginal="0"/>
>      </analyzer>
>    </fieldType>
>
> <field name="author_split" type="text_ws" indexed="true"
> multiValued="true"/>
>
>
>
>
>
>
>

Reply via email to