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

Mailing List Archive: Lucene: Java-User

Maximum phrase query?

 

 

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


max at artsalliancelabs

Jul 30, 2007, 11:40 AM

Post #1 of 2 (621 views)
Permalink
Maximum phrase query?

I have a set of tags associated with content in my corpus. I also have
normal text. Our system tries to figure out which "words" are tags and
which are text, and falls back on text when tags fail. I'm wondering,
is there anything in Lucene which might help disambiguate multi-word
tags from text? Specific example:



Tags: "post office", "office"



Search: post office mail



In this case, I would like something that would indicate that the search
could be one of (in scored order):



"post office" + mail

post + office + mail



I realize it's a strange request and that I'm essentially asking Lucene
to perform a combinatorically problematic operation.



--Max


erickerickson at gmail

Jul 30, 2007, 4:47 PM

Post #2 of 2 (537 views)
Permalink
Re: Maximum phrase query? [In reply to]

not that I know of....

Erick

On 7/30/07, Max Metral <max [at] artsalliancelabs> wrote:
>
> I have a set of tags associated with content in my corpus. I also have
> normal text. Our system tries to figure out which "words" are tags and
> which are text, and falls back on text when tags fail. I'm wondering,
> is there anything in Lucene which might help disambiguate multi-word
> tags from text? Specific example:
>
>
>
> Tags: "post office", "office"
>
>
>
> Search: post office mail
>
>
>
> In this case, I would like something that would indicate that the search
> could be one of (in scored order):
>
>
>
> "post office" + mail
>
> post + office + mail
>
>
>
> I realize it's a strange request and that I'm essentially asking Lucene
> to perform a combinatorically problematic operation.
>
>
>
> --Max
>
>

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.