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

Mailing List Archive: Lucene: Java-Dev

number of term match in a search ...

 

 

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


victorh at nuix

May 4, 2002, 11:15 PM

Post #1 of 2 (94 views)
Permalink
number of term match in a search ...

Hi,

I posted this question in the user list and no response. I posted again in
the dev list hoping that someone can shed a bit of light in my problem.

Is there a way to found out the number of times a word is found in the query?
For example if I search for: Java Programmers

Not only I want to retrieve the list of documents that matches, I also
wanted, within that search result, the count of Java and Programmers.

Is it possible to do this with Lucene? Or do I have do a bit of changes in
the code. If this so could someone kindly point me to the area?

Hope I don't annoy anyone.

Regards,

--
Victor Hadianto

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe [at] jakarta>
For additional commands, e-mail: <mailto:lucene-dev-help [at] jakarta>


Julien.Nioche at lingway

May 6, 2002, 10:16 AM

Post #2 of 2 (87 views)
Permalink
Re: number of term match in a search ... [In reply to]

Hi,

We had a discussion on this topic a few month ago.

http://www.mail-archive.com/lucene-dev [at] jakarta/msg00091.html

In particular Doug's answer :

http://www.mail-archive.com/lucene-dev [at] jakarta/msg00101.html

Retrieving this information requires a few changes in the code (in
particular for count of Phrase Queries).

Maybe we could do include it in a future release? Do people thinks it's an
useful feature?





----- Original Message -----
From: "Victor Hadianto" <victorh [at] nuix>
To: "Lucene Developers List" <lucene-dev [at] jakarta>
Sent: Saturday, May 04, 2002 11:15 PM
Subject: number of term match in a search ...


> Hi,
>
> I posted this question in the user list and no response. I posted again in
> the dev list hoping that someone can shed a bit of light in my problem.
>
> Is there a way to found out the number of times a word is found in the
query?
> For example if I search for: Java Programmers
>
> Not only I want to retrieve the list of documents that matches, I also
> wanted, within that search result, the count of Java and Programmers.
>
> Is it possible to do this with Lucene? Or do I have do a bit of changes in
> the code. If this so could someone kindly point me to the area?
>
> Hope I don't annoy anyone.
>
> Regards,
>
> --
> Victor Hadianto
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-dev-unsubscribe [at] jakarta>
> For additional commands, e-mail:
<mailto:lucene-dev-help [at] jakarta>
>
>


--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe [at] jakarta>
For additional commands, e-mail: <mailto:lucene-dev-help [at] jakarta>

Lucene java-dev 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.