Hi,
how can I use TermVectors ? I have read the API, but it is not clear to me.
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-can-I-list-all-the-terms-from-a-document-tp4294797p4295922.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---
Hi,
Does Lucene care with phrases? Or only with words?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Is-it-possible-to-search-for-a-paragraph-in-Lucene-tp4295705p4295925.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
--
Hi,
First you need to enable term vectors at index time.
Then you can access terms and their statistics in a document.
http://makble.com/what-is-term-vector-in-lucene
Ahmet
On Tuesday, September 13, 2016 11:53 AM, szzoli wrote:
Hi,
how can I use TermVectors ? I have read the API, but it is
Hi
How can I get all matched terms of a document in PrefixQuery?
Term t2 = new Term("contents", "br");
PrefixQuery query = new PrefixQuery(t2);
Suppose I have few documents with 1000 different terms.
Search is showing me the document in which it find the br words.
Now, how can I get all the br
If someone is interested. I can't
-- Doorgestuurde bericht --
Van: *Sharad*
Datum: dinsdag 13 september 2016
Onderwerp: Herinnering: Sharad heeft u een e-mail gestuurd via Indeed CV
Aan: Evert-jan Wagenaar
*Reminder:* this email from Sharad is awaiting your response
---
You can't do this very easily, unfortuantely.
The way PrefixQuery runs is to find (globally, across the index) all
terms that have that prefix. If there are enough of them, it goes
term by term marking the documents in a bitset, and then iterates that
bitset in the end. So the information of whi
Yes, it does. You can search with phrase using PhraseQuery. See the API
reference
https://lucene.apache.org/core/6_2_0/core/org/apache/lucene/search/PhraseQuery.html
I hope it is helpful for you.
Simona
2016-09-13 11:14 GMT+02:00 szzoli :
> Hi,
>
> Does Lucene care with phrases? Or only with wo
Thanks Mike
I would rather go with first approach with Scorer.getChildren API. (will
try).
The second approach I have thought of but you are right, it is costly.
Regards
Raj
On Wednesday 14 September 2016, Michael McCandless <
luc...@mikemccandless.com> wrote:
> You can't do this very easily, u
I have 6 machine and 6 index directories, each machine builds index into
one index directory. After power failure last night, two of those machine
can't start index program.
one error is
> INFO: 2016-09-14 12:31:38 [main]
> sewm.bdbox.search.InfomallIndexer$Builder:ignoreCollectionsFile(227):
> L