FAQ
Gentlemen

New to Solr and this may have been answered before.

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

Please point me in the right direction.

regards,
Eric


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Search Discussions

  • Chris Hostetter at Apr 14, 2008 at 9:41 pm
    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 an
    : option to include only, for example, technical terms
    : 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.


    -Hoss
  • Edwin Koome at Apr 16, 2008 at 8:07 pm
    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".

    Eric
    --- 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
    an
    : option to include only, for example, technical
    terms
    : 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.


    -Hoss


    ____________________________________________________________________________________
    Be a better friend, newshound, and
    know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
  • Otis Gospodnetic at Apr 16, 2008 at 8:19 pm
    Eric,

    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.

    Otis
    --
    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".

    Eric
    --- 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
    an
    : option to include only, for example, technical
    terms
    : 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.


    -Hoss


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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsolr-user @
categorieslucene
postedApr 10, '08 at 9:25p
activeApr 16, '08 at 8:19p
posts4
users3
websitelucene.apache.org...

People

Translate

site design / logo © 2022 Grokbase