> yes its quite possible.
> 1.you need to create term which you need to search.
> eg.
> Term term = new Term("yourfield","yourword");
>
> 2. then create a TermDoc enum.
> TermDocs provides an interface for enumerating pairs
> for a term.
>
> TermDocs t = new
> FilterIndexReader(IndexReader.open("y
Hi,
>From whatever you have written you are trying to write a query
*word1 AND stopword AND word2
*this means that the result should contain all of word1, word2 and the
stopword.
Since you have already removed the stopword during index time you will never
find any document matching your query. (th
Hi,
I have the same need - to obtain "attributes" for terms stored in some
field. I also need all the results and can't take just the first few docs.
I'm using an older version of lucene and the method i'm using right now is
this:
1. Store the words as usual in some field.
2. Store the attributeso
Hello Eric,
our use case is to match feature vectors extracted from pictures in
a performant way with Lucene.
For this, interesting points of a picture will be derived, and each
of them is described by an own vector. So we have one picture, but
several feature vectors (1:n)
When I now want to se
Mario,
Does this help:
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/index/TermFreqVector.html
Plus:
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/index/IndexReader.html#method_summary
(look for "getTerm.Freq...")
Otis
--
Se
First - I apologize for the double post on my earlier email. The first
time I sent it I received an error message from [EMAIL PROTECTED]
saying that I should instead send email to [EMAIL PROTECTED] so I
thought it did not go through.
My question is this - is there a way to use the Lucene/Solr
> Mario,
>
> Does this help:
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/index/TermFreqVector.html
>
> Plus:
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/index/IndexReader.html#method_summary
> (look for "getTerm.Freq...
On Thu, 13 Nov 2008 14:53:59 +0530
"prabin meitei" <[EMAIL PROTECTED]> wrote:
> Hi,
> From whatever you have written you are trying to write a query
> *word1 AND stopword AND word2
> *this means that the result should contain all of word1, word2 and the
> stopword.
>
> Since you have already remo
Which Analyzer have you assigned per field?
The PerFieldAnalyzerWrapper uses a default analyzer (the one you passed
during its construction), and then you assign specific analyzers to each
field that you want to have special treatment.
For example:
PerFieldAnalyzerWrapper aWrapper = n
The more Documents you have to look at the slower it will be, but it may still
be fast enough - it's impossible to tell without considering index size, query
volume, hardware, number of hits/Docs, etc.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
___
Hi all,
I'm happy to announce that the new release of Luke - the Lucene Index
Toolbox - is available for download (or WebStart use) here:
http://www.getopt.org/luke
Changes in v. 0.9:
--
This release adds many functionality enhancements and advanced features
available
Hi,
Does Lucene support Scoped Searches? My intention is to index an XML
String and search for a matching element/attribute value from that XML
by specifying scope(path).
Also is there any direct support for Facets building in Lucene?
Regards,
Mayur
-
Hi,
I am simple question.
I want a string to be indexed, but stored part of that string.
For example, if my string is "foo bar", I want to index whole
string("foo bar") but store the first 3 characters("foo") of it. How
can I do this with the lucene APIs?
thanks
ravi
---
13 matches
Mail list logo