This link helped me, it contained the solution.
Thank you!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294403.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
t the hits in the approriate document?
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294308.html
> Sent from the Lu
.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294308.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For
te these objects, too?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294286.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> --
message in context:
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294286.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user
Maybe you should clarify your use-case. For instance Uwe was assuming that
you needed this information for debugging purposes while I was assuming
that you needed it for your application logic.
Le jeu. 1 sept. 2016 à 14:20, szzoli a écrit :
> "If the Query is a TermQuery, you can get this number
om/Lucene-6-1-number-of-hits-per-document-tp4293245p4294279.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands,
Original Message-
> From: Mikhail Khludnev [mailto:m...@apache.org]
> Sent: Monday, August 29, 2016 2:17 PM
> To: java-user@lucene.apache.org
> Subject: Re: Lucene 6.1: number of hits per document
>
> try fl=*,tf(text,'run')
> or check explanation on debugQuery=true
&
?
To
Mikhail Khludnev-2:
What is
" fl=*,tf(text,'run') " ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4294117.html
Sent from the Lucene - Java Users mailing list a
ocuments"? Can you give an
> > example
> > maybe?
> >
> > Le jeu. 25 août 2016 à 16:29, szzoli
> > <
> > reg9sz...@freemail.hu
> > >
> > a écrit :
> >
> >> Hi,
> >>
> >> I would like to get the number of h
Le lun. 29 août 2016 à 12:00, a écrit :
> I was searching for a word in an index (multiple files were indexed in a
> library). I was searching e.g for "run". A document contained two times, an
> other three times this word.
> I would like to see int the result for the firs document "2", for the
>
ou
Adrien Grand wrote
> What do you mean by "number of hits per documents"? Can you give an
> example
> maybe?
>
> Le jeu. 25 août 2016 à 16:29, szzoli
> <
> reg9sz...@freemail.hu
> >
> a écrit :
>
>> Hi,
>>
>> I would like to
What do you mean by "number of hits per documents"? Can you give an example
maybe?
Le jeu. 25 août 2016 à 16:29, szzoli a écrit :
> Hi,
>
> I would like to get the number of hits per document.
> I googled around a lot, there were code snipplets for older versions. Non
Hi,
I would like to get the number of hits per document.
I googled around a lot, there were code snipplets for older versions. None
of them works with Lucene 6.1.
Any help would be appreciated.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per
: > I could do it that way, but couting the spans per document is specific to
: > SpanQuerys. I would still have to count hits for TermQuerys separately. I
: > was looking for a generic way to count hits for any instance of Query within
: > a document.
the orriginal Query, Weight, and Scorer APIs
ow often the
>> doc() method changes.
>>
>> HTH,
>> Grant
>> On Jun 9, 2008, at 11:21 AM, John Byrne wrote:
>>
>>> Hi,
>>>
>>> Is there an easy way to find out the number of hits per document for a
>>> Query, rather than just for
an easy way to find out the number of hits per document for
a Query, rather than just for a Term?
Let's say, for example, I have a document like this:
"here is cats near dogs and here is cats a long long way from dogs"
and I use a SpanNearQuery to find "cats" near &
wrote:
Hi,
Is there an easy way to find out the number of hits per document for
a Query, rather than just for a Term?
Let's say, for example, I have a document like this:
"here is cats near dogs and here is cats a long long way from dogs"
and I use a SpanNearQuery to find &q
Hi,
Is there an easy way to find out the number of hits per document for a
Query, rather than just for a Term?
Let's say, for example, I have a document like this:
"here is cats near dogs and here is cats a long long way from dogs"
and I use a SpanNearQuery to find "cats
19 matches
Mail list logo