Hello,

here is my configuration which don't work:

shema:
<field name="AllChamp" type="text_general" multiValued="true"
indexed="true"
required="false" stored="false"/>

<dynamicField name="*_en" type="text_en" indexed="true" stored="true"
required="false" multiValued="true"/>

<dynamicField name="*_fr" type="text_fr" indexed="true" stored="true"
 required="false" multiValued="true"/>

<dynamicField name="*_ar" type="text_ar" indexed="true" stored="true"
 required="false" multiValued="true"/>

config:

<requestHandler name="/browse" class="solr.SearchHandler">
     <lst name="defaults">
       <str name="echoParams">explicit</str>

       <!-- VelocityResponseWriter settings -->
       <str name="wt">velocity</str>
       <str name="v.template">browse</str>
       <str name="v.layout">layout</str>
       <str name="title">Solritas</str>

       <!-- Query settings -->
       <str name="defType">edismax</str>
       <str name="qf">
          *_ar^2 *_fr^3 *_en^2.2
       </str>
       <str name="df">AllChamp</str>
       <str name="mm">100%</str>
       <str name="q.alt">*:*</str>
       <str name="rows">10</str>
       <str name="fl">*,score</str>

       <str name="mlt.qf">
         text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
         title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
       </str>
       <str
name="mlt.fl">text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename</str>
       <int name="mlt.count">3</int>

       <!-- Faceting defaults -->
       <str name="facet">on</str>
       <str name="facet.field">cat</str>
       <str name="facet.field">manu_exact</str>
       <str name="facet.field">content_type</str>
       <str name="facet.field">author_s</str>
       <str name="facet.query">ipod</str>
       <str name="facet.query">GB</str>
       <str name="facet.mincount">1</str>
       <str name="facet.pivot">cat,inStock</str>
       <str name="facet.range.other">after</str>
       <str name="facet.range">price</str>
       <int name="f.price.facet.range.start">0</int>
       <int name="f.price.facet.range.end">600</int>
       <int name="f.price.facet.range.gap">50</int>
       <str name="facet.range">popularity</str>
       <int name="f.popularity.facet.range.start">0</int>
       <int name="f.popularity.facet.range.end">10</int>
       <int name="f.popularity.facet.range.gap">3</int>
       <str name="facet.range">manufacturedate_dt</str>
       <str
name="f.manufacturedate_dt.facet.range.start">NOW/YEAR-10YEARS</str>
       <str name="f.manufacturedate_dt.facet.range.end">NOW</str>
       <str name="f.manufacturedate_dt.facet.range.gap">+1YEAR</str>
       <str name="f.manufacturedate_dt.facet.range.other">before</str>
       <str name="f.manufacturedate_dt.facet.range.other">after</str>

       <!-- Highlighting defaults -->
       <str name="hl">on</str>
       <str name="hl.fl">content features title name</str>
       <str name="hl.encoder">html</str>
       <str name="hl.simple.pre">&lt;b&gt;</str>
       <str name="hl.simple.post">&lt;/b&gt;</str>
       <str name="f.title.hl.fragsize">0</str>
       <str name="f.title.hl.alternateField">title</str>
       <str name="f.name.hl.fragsize">0</str>
       <str name="f.name.hl.alternateField">name</str>
       <str name="f.content.hl.snippets">3</str>
       <str name="f.content.hl.fragsize">200</str>
       <str name="f.content.hl.alternateField">content</str>
       <str name="f.content.hl.maxAlternateFieldLength">750</str>

       <!-- Spell checking defaults -->
       <str name="spellcheck">on</str>
       <str name="spellcheck.extendedResults">false</str>
       <str name="spellcheck.count">5</str>
       <str name="spellcheck.alternativeTermCount">2</str>
       <str name="spellcheck.maxResultsForSuggest">5</str>
       <str name="spellcheck.collate">true</str>
       <str name="spellcheck.collateExtendedResults">true</str>
       <str name="spellcheck.maxCollationTries">5</str>
       <str name="spellcheck.maxCollations">3</str>
     </lst>

     <!-- append spellchecking to our list of components -->
     <arr name="last-components">
       <str>spellcheck</str>
     </arr>
  </requestHandler>






2014-07-01 2:24 GMT+02:00 Steve McKay-4 [via Lucene] <
ml-node+s472066n4144897...@n3.nabble.com>:

> Three fields: AllChamp_ar, AllChamp_fr, AllChamp_en. Then query them with
> dismax.
>
> On Jun 30, 2014, at 11:53 AM, benjelloun <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4144897&i=0>> wrote:
>
> > here is my schema:
> >
> > <field name="AllChamp" type="text_general" multiValued="true"
> indexed="true"
> > required="false" stored="false"/>
> > <dynamicField name="*_en" type="text_en" indexed="true" stored="true"
> > required="false" multiValued="true"/>
> >
> > <dynamicField name="*_fr" type="text_fr" indexed="true" stored="true"
> > required="false" multiValued="true"/>
> >
> > <dynamicField name="*_ar" type="text_ar" indexed="true" stored="true"
> > required="false" multiValued="true"/>
> >
> > <copyField source="*_ar" dest="AllChamp"/>
> > <copyField source="*_fr" dest="AllChamp"/>
> > <copyField source="*_en" dest="AllChamp"/>
> >
> > when i index documents then search on this field "AllChamp" that don't
> do
> > analyzer and filter.
> > I know that CopyField can't copy analyzers and Filters, so how to keep
> > analyzer and filter on Field: "AllChamp"?
> >
> > Exemple:
> >
> > I search for : AllChamp:presenton  --> num result=0
> >                   AllChamp:présenton  --> num result=1
> >
> > thanks for help,
> > best regards,
> > Anass BENJELLOUN
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144897.html
>  To unsubscribe from CopyField can't copy analyzers and Filters, click
> here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4144803&code=YW5hc3MuYm5qQGdtYWlsLmNvbXw0MTQ0ODAzfC0xMDQyNjMzMDgx>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/CopyField-can-t-copy-analyzers-and-Filters-tp4144803p4144937.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to