I'm submitting data via Liferay that uses Apache Lucene/Solr for searching
feature. Nothing is done directly on Solr.
solrconfig.xml is actually done in this way:

  <requestHandler name="/update/extract"
                  startup="lazy"
                  class="solr.extraction.ExtractingRequestHandler" >
    <lst name="defaults">
      <!-- All the main content goes into "text"... if you need to return
           the extracted text or do highlighting, use a stored field. -->
      <str name="fmap.content">text</str>
      <str name="lowernames">true</str>
      <str name="uprefix">ignored_</str>

      <!-- capture link hrefs but ignore div attributes -->
      <str name="captureAttr">true</str>
      <str name="fmap.a">links</str>
      <str name="fmap.div">ignored_</str>
    </lst>
  </requestHandler>

but I still have traces like this in "select params" (look at ddm/*):

+%2Bddm/10308/ClimateForcast_PROGRAM_ID:documento)+(-web_content/Data_Scadenza:[00000000000000+TO+20140205121824]+-expando/custom_fields/stato:1+%2B(web_content/Mercato:ml*+expando/custom_fields/fieldmercato:ml*)+%2Bddm/10308/ClimateForcast_COMMAND_LINE:documento)

You suggested to reindex, I see I can do it via Liferay but I can't say how
long it takes. Is your suggestion still valid after this elements I posted?

Mauro


On Wed, Feb 5, 2014 at 11:28 AM, Alexandre Rafalovitch
<arafa...@gmail.com>wrote:

> Did you reindex?
>
> Also, how are you submitting data? Are you using
> ExtractingRequestHandler (defined in your solrconfig.xml)?
>
> If so, there is already a mechanism for that. Just search for ignored
> in the documentation:
> http://wiki.apache.org/solr/ExtractingRequestHandler .
>
> Regards,
>    Alex.
>
> Personal website: http://www.outerthoughts.com/
> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
> - Time is the quality of nature that keeps events from happening all
> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
> book)
>
>
> On Wed, Feb 5, 2014 at 5:17 PM, Mauro Gregorio Binetti
> <maurogregorio.bine...@gmail.com> wrote:
> > Hi everybody,
> > I'm a newbie and I'm working on searching performance in a project withou
> > any type of documentation.
> > I think searching is very slow because of the presence of all tika
> > metadata, what do you think about it? I'm trying to disable this
> searching
> > in al of these technical fields to test if it's true or not. I tried to,
> > but I had no results till now.
> > I tried in this way... modifying schema.xml with these new line:
> >
> > <dynamicField name="*" type="ignored" multiValued="true"/>
> >
> > but I continue to see all parameters (lije ddm/*) in "select params" done
> > by Solr.
> > Any hints?
> >
> > Thank you,
> > Mauro
>

Reply via email to