Look at LUCENE-400 or Lucene trunk/contrib/analyzers for the shingles stuff.
Have you checked the Wiki for info about LukeRequestHandler? I bet it's there.

Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
From: Edwin Koome <ekoome@yahoo.com>
To: solr-user@lucene.apache.org
Sent: Wednesday, April 16, 2008 4:07:24 PM
Subject: Re: Searching for popular phrases or words

Thanks Chris.

I had in mind "Occurs in alot of documents". Please do
point me where i can pick up an example of using the
LukeRequestHandler and the "shingles based tokenizer".

--- Chris Hostetter wrote:
it depends on your definition of "polular" if you
mean "occurs in a lot of
documents" then take a look at the
LukeRequestHandler ... if can give you
info on terms with high frequencies (and you can use
a Shingles based
tokenizer to index "phrase" as terms

if by popular you mean "occurs in a lot of queries"
there isn't anything
in Solr that keeps track of what people search for
... your application
would need to do that.

: How can i search for popular phrases or words with
: option to include only, for example, technical
: e.g "Oracle database" rather than common english

You'll need a better definition of your goal to get
any meaningful answer
to the "an option to include only, for example,
technical terms" part of
that question ... the "for example" implies that
there are other examples
... how would you (as a human person) decide when to
classify a phrase as
a "technical" phrase, vs an ... "other" phrase? if
you can't answer that
question, then neither can code.


Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupsolr-user @
postedApr 10, '08 at 9:25p
activeApr 16, '08 at 8:19p



site design / logo © 2022 Grokbase