The Lucene CheckIndex program opens an index and walks all of the data
structures. It is a good start for you.
Sahin Buyrukbilen wrote:
Thank you Uwe, I will read the docs and try to do it, however do you have an
example code? I need because I am not very familiar with Java.
Thank you.
Sahin
You should be able to subclass your favorite Analyzer and
then just override that method.
Best
Erick
On Tue, Sep 21, 2010 at 4:25 PM, Qi Li wrote:
> Hi, Guys:
>
> I try to change the getPositionIncrementGap for a field which has multiple
> values per document on index time. But got no clue how
Off the top of my head...
1) is certainly easiest. This looks suspiciously like synonyms. That is, at
index
time you inject the ID as a synonym in the text and it gets indexed at
the same
position as the token. Why this helps is that then phrase queries
continue to
work. Lucene in Actio
(10/09/22 3:24), Devshree Sane wrote:
I am using the FastVectorHighlighter for retrieving snippets from the index.
I am a bit confused about the parameters that are passed to the
FastVectorHighlighter.getBestFragments() method. One parameter is a document
id and another is the maximum number o
Hi, Guys:
I try to change the getPositionIncrementGap for a field which has multiple
values per document on index time. But got no clue how to approach this
issue. Any ideas?
Thank you very much.
Best regards,
Qi Li
Hi, guys:
I read this http://lucene.apache.org/java/3_0_2/api/core/index.html . But I
am confused about how the fieldNorm is calculated after seeing the
explanation.
( I am using StandardAnalyzer for both index and search)
*1.. Index Part*
document 0:
doc.add(new Field("test","it
I'm curious about embedding extra information in an index (and being able to
search the extra information as well). In this case certain tokens correspond
to recognized entities with ids. I'd like to get the ids into the index so that
searching for the id of the entity will also return that docu
I am using the FastVectorHighlighter for retrieving snippets from the index.
I am a bit confused about the parameters that are passed to the
FastVectorHighlighter.getBestFragments() method. One parameter is a document
id and another is the maximum number of fragments. Does it mean that only
the m
Thank you Uwe, I will read the docs and try to do it, however do you have an
example code? I need because I am not very familiar with Java.
Thank you.
Sahin
On Tue, Sep 21, 2010 at 12:29 PM, Uwe Schindler wrote:
> Hi,
>
> Retrieve a TermEnum and iterate it. By that you get all terms and can
>
Hi,
Retrieve a TermEnum and iterate it. By that you get all terms and can
retrieve the docFreq, which is the second column in your table. Finally for
each term you position the TermDocs enum on this term to get all document
ids. Read docs of IndexReader/TermEnum/TermDocs about this.
Uwe
-
Uw
Hi,
I am currently working on a project about private information retrieval and
I need to have an inverted index file in txt format as follows:
Term tfreq t Inverted list for t
-
and 1 <6, 0.159>
bi
+1 for a static method to get the appropriate value of Version.
--
Ian.
On Sun, Sep 19, 2010 at 11:21 PM, Bill Janssen wrote:
> Simon Willnauer wrote:
>
>> On Fri, Sep 17, 2010 at 11:45 PM, Bill Janssen wrote:
>> > Simon Willnauer wrote:
>> >
>> >> On Fri, Sep 17, 2010 at 8:14 PM, Bill Jans
12 matches
Mail list logo