ne.apache.org
Subject: Re: get term frequency, just only keywords search
Hi, jack
i have a same problem as danielitos85
i want to search like "research development" but termfreq function not work
as per your messages
and you said that use phraseFreq but we can get it from debug que
Hi, jack
i have a same problem as danielitos85
i want to search like "research development" but termfreq function not work
as per your messages
and you said that use phraseFreq but we can get it from debug query.
my problem is i want to sort on "research development" count, higher count
document wi
es and write the code needed to ferret it out.
-- Jack Krupansky
-Original Message-
From: danielitos85
Sent: Wednesday, August 21, 2013 4:41 AM
To: solr-user@lucene.apache.org
Subject: Re: get term frequency, just only keywords search
Thanks a lot guys,
@Jack in my search I use dis
Thanks a lot guys,
@Jack in my search I use dismax (how defType) and I search either term or
phrase, but I need to get the number that show me how many time that term or
phrase is in the document.
I could get it from debugQuery but I would like get it directly from the
results.
What do you sugge
Sent: Monday, August 19, 2013 10:25 AM
To: solr-user@lucene.apache.org
Subject: Re: get term frequency, just only keywords search
ok I undestand it (thanks) but if I search a sentence and type
"debugQuery=on", in the explain I obtain termFreq=2.0 and it right.
Is it possible to obta
There are a series of functions that can deal with _some_ relevance data,
see:
http://wiki.apache.org/solr/FunctionQuery#Relevance_Functions
Best
Erick
On Mon, Aug 19, 2013 at 10:25 AM, danielitos85 wrote:
> ok I undestand it (thanks) but if I search a sentence and type
> "debugQuery=on", in th
ok I undestand it (thanks) but if I search a sentence and type
"debugQuery=on", in the explain I obtain termFreq=2.0 and it right.
Is it possible to obtain that parameter?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-only-keywords-search-tp40845
o: solr-user@lucene.apache.org
Subject: Re: get term frequency, just only keywords search
there isn't a way to get termFreq about a search like "french fries"
(sentence)?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-only-keywords-sea
there isn't a way to get termFreq about a search like "french fries"
(sentence)?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-only-keywords-search-tp4084510p4085454.html
Sent from the Solr - User mailing list archive at Nabble.com.
user@lucene.apache.org
Subject: Re: get term frequency, just only keywords search
Thanks Jack,
but if my keyword search are two words? for example "french fries" ? how is
the right syntax?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-onl
Thanks Jack,
but if my keyword search are two words? for example "french fries" ? how is
the right syntax?
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-only-keywords-search-tp4084510p4085399.html
Sent from the Solr - User mailing list archive at N
q="pizza"+"tomato"&fl=id,termfreq(myfield,'pizza'),termfreq(myfield,'tomato')
-- Jack Krupansky
-Original Message-
From: danielitos85
Sent: Wednesday, August 14, 2013 1:22 PM
To: solr-user@lucene.apache.org
Subject: Re: get term frequency, j
Thanks.
I tried to use termfreq function and it is ok for me but, last my question
is: if I have a query like this:
q="pizza"+"tomato"&fl=id,termfreq(myfield,**)
how set my query (pizza+tomato) in second param in termfreq function?
--
View this message in context:
http://lucene.472066.n3
-
From: danielitos85
Sent: Wednesday, August 14, 2013 12:50 PM
To: solr-user@lucene.apache.org
Subject: Re: get term frequency, just only keywords search
Thanks Jack,
I'm tring to use tf function but I don't understand: why he returns a float
value and not integer?
At the start of th
Thanks Jack,
I'm tring to use tf function but I don't understand: why he returns a float
value and not integer?
At the start of this topic I explained an example where I used term
Frequency but it don't works how I need because he returns the term
frequency about all the terms of my field.
Thank
You can use the termfreq or tf function query in your field list to return
the term frequency for a term, like:
fl=id,tf(foods,'pizza')
-- Jack Krupansky
-Original Message-
From: danielitos85
Sent: Wednesday, August 14, 2013 5:29 AM
To: solr-user@lucene.apache.org
Subject: get term f
sorry, but now I give more attention at the results and it don't return that
I needed.
If I have two documents indexed:
the text of my first document: "ice-cream pizza pizza pizza"
the text of my second document: "pizza tomato"
it returns the followed code:
thanks a lot Markus ;)
If I use regex parameter it works
--
View this message in context:
http://lucene.472066.n3.nabble.com/get-term-frequency-just-only-keywords-search-tp4084510p4084525.html
Sent from the Solr - User mailing list archive at Nabble.com.
Why? Using terms.limit or a ^term$ regex should limit the response to the exact
term right?
-Original message-
> From:danielitos85
> Sent: Wednesday 14th August 2013 12:20
> To: solr-user@lucene.apache.org
> Subject: RE: get term frequency, just only keywords search
>
Thanks for your answer, but I'm tring to use TermsComponent but the output is
similar.
TermsComponent returns all the terms (*and not just for the term that I have
search*) and their counts for a given field.
something wrong?
--
View this message in context:
http://lucene.472066.n3.nabble.com
Try the TermsComponent. It will return one or more terms and their counts for a
given field only.
-Original message-
> From:danielitos85
> Sent: Wednesday 14th August 2013 11:30
> To: solr-user@lucene.apache.org
> Subject: get term frequency, just only keywords search
>
> I need to ge
21 matches
Mail list logo