lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nutan <nutanshinde1...@gmail.com>
Subject Re: searching within documents
Date Wed, 25 Sep 2013 13:27:13 GMT
Okay thanks,
I will surely read that page.
Thanks a lot.


On Wed, Sep 25, 2013 at 4:21 PM, Erick Erickson [via Lucene] <
ml-node+s472066n4091910h83@n3.nabble.com> wrote:

> Because your "text" field type is completely broken.
>
> for instance, at indexing time
> > lowercasing before using WordDelimiterFilterFactory
> means that one of the purposes of WDFF, breaking
> tokens up on upper/lower case transitions can't happen.
> Which you apparently intend since you have
> splitOnCaseChange="1"
>
> > you apply stemming at index time but not query time
> (not finding q=acted)
>
> For your query,
> > you don't lowercase the input (contents:Sushant
> not getting hits).
>
> Please spend some time with the admin/analysis page
> to understand the transformations at index time and
> query time, that'll clarify a lot.
>
> Best
> Erick
>
> On Tue, Sep 24, 2013 at 6:49 AM, Nutan <[hidden email]<http://user/SendEmail.jtp?type=node&node=4091910&i=0>>
> wrote:
>
> > Why does it happens that for few words it shows output and for few it
> does
> > not?
> >
> > For example,
> > 1)
> > q=contents:Sushant
> >
> > numfound is 0
> >
> > q=contents:sushant
> >
> > gives output
> >
> > 2)
> > q=contents:acted
> >
> > numfound 0
> >
> > q=contents:well
> >
> > gives output
> >
> > This is the document:
> > <result name="response" numFound="1" start="0">
> >   <doc>
> >     <str name="id">13</str>
> >     <arr name="author">
> >       <str>chetan</str>
> >     </arr>
> >     <str name="comments">worst book</str>
> >     <str name="keywords">solr,lucene</str>
> >     <str name="contents">Sushant acted well in kaipoche.</str>
> >     <str name="title">3 mistakes</str>
> >     <str name="revision_number">0012345654334</str></doc>
> > </result>
> > </response>
> >
> > Please do reply.Help will be appreciated.
> > Thanks in advance.
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/searching-within-documents-tp4090173p4091713.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/searching-within-documents-tp4090173p4091910.html
>  To unsubscribe from searching within documents, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4090173&code=bnV0YW5zaGluZGUxOTkyQGdtYWlsLmNvbXw0MDkwMTczfC0xMzEzOTU5Mzcx>
> .
> 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/searching-within-documents-tp4090173p4091938.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message