Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

how can i search multiple words in line and paragraph?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


neerajshah84 at gmail

Jul 24, 2012, 10:20 PM

Post #1 of 4 (266 views)
Permalink
how can i search multiple words in line and paragraph?

i have requirement that have to search multiple words in paragraph and in
line depending upon the situation.
how can i do this in lucene. im using Lucene2.9.



--
View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


ian.lea at gmail

Jul 25, 2012, 2:02 AM

Post #2 of 4 (258 views)
Permalink
Re: how can i search multiple words in line and paragraph? [In reply to]

Look into spans and line, or sentence, delimiters and tokens, and
position increment gaps. Google will help you. You can do a whole
lot of stuff with spans - see
http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ for a
good intro.

Lucene 2.9 is ancient. You should upgrade.


--
Ian.


On Wed, Jul 25, 2012 at 6:20 AM, neerajshah84 <neerajshah84 [at] gmail> wrote:
> i have requirement that have to search multiple words in paragraph and in
> line depending upon the situation.
> how can i do this in lucene. im using Lucene2.9.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


neerajshah84 at gmail

Jul 26, 2012, 3:04 AM

Post #3 of 4 (246 views)
Permalink
Re: how can i search multiple words in line and paragraph? [In reply to]

can you send me any example for search words in paragraph or in line.

On Wed, Jul 25, 2012 at 2:33 PM, Ian Lea [via Lucene] <
ml-node+s472066n3997170h7 [at] n3> wrote:

> Look into spans and line, or sentence, delimiters and tokens, and
> position increment gaps. Google will help you. You can do a whole
> lot of stuff with spans - see
> http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ for a
> good intro.
>
> Lucene 2.9 is ancient. You should upgrade.
>
>
> --
> Ian.
>
>
> On Wed, Jul 25, 2012 at 6:20 AM, neerajshah84 <[hidden email]<http://user/SendEmail.jtp?type=node&node=3997170&i=0>>
> wrote:
>
> > i have requirement that have to search multiple words in paragraph and
> in
> > line depending upon the situation.
> > how can i do this in lucene. im using Lucene2.9.
> >
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html
> > Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3997170&i=1>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3997170&i=2>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3997170&i=3>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=3997170&i=4>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142p3997170.html
> To unsubscribe from how can i search multiple words in line and
> paragraph?, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3997142&code=bmVlcmFqc2hhaDg0QGdtYWlsLmNvbXwzOTk3MTQyfC0yMzgzODQ1OA==>
> .
> 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>
>



--
With Regards,
Neeraj Kumar Shah
+919819474146




--
View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142p3997372.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


neerajshah84 at gmail

Jul 26, 2012, 9:48 PM

Post #4 of 4 (246 views)
Permalink
Re: how can i search multiple words in line and paragraph? [In reply to]

any code example for search words in paragraph or in line.

On Thu, Jul 26, 2012 at 3:34 PM, neerajshah84 <neerajshah84 [at] gmail>wrote:

> can you send me any example for search words in paragraph or in line.
>
> On Wed, Jul 25, 2012 at 2:33 PM, Ian Lea [via Lucene] <
> ml-node+s472066n3997170h7 [at] n3> wrote:
>
> > Look into spans and line, or sentence, delimiters and tokens, and
> > position increment gaps. Google will help you. You can do a whole
> > lot of stuff with spans - see
> > http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ for a
> > good intro.
> >
> > Lucene 2.9 is ancient. You should upgrade.
> >
> >
> > --
> > Ian.
> >
> >
> > On Wed, Jul 25, 2012 at 6:20 AM, neerajshah84 <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=3997170&i=0>>
> > wrote:
> >
> > > i have requirement that have to search multiple words in paragraph and
> > in
> > > line depending upon the situation.
> > > how can i do this in lucene. im using Lucene2.9.
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html
> > > Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3997170&i=1>
> > > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3997170&i=2>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3997170&i=3>
> > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3997170&i=4>
> >
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142p3997170.html
> > To unsubscribe from how can i search multiple words in line and
> > paragraph?, click here<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3997142&code=bmVlcmFqc2hhaDg0QGdtYWlsLmNvbXwzOTk3MTQyfC0yMzgzODQ1OA==
> >
> > .
> > 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
> >
> >
>
>
>
> --
> With Regards,
> Neeraj Kumar Shah
> +919819474146
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142p3997372.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>



--
With Regards,
Neeraj Kumar Shah
+919819474146

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.