Hi,
I've been trying to search and show the results
in a sorted order by using search(query, sort).
However, the sorting seems to take too long when
the index size becomes large (currently 7GB).
So,,, I thought it would be nice if the index were
pre-sorted...
What I want to do is to show the result
Hi Chris,
You said:
" 5 word occurances in a 10 word document would probably score the same as
those 5 words in a 20 word document"
OK so If I set this option would this mean no of occurences was a major
factor so that:
A phrase occurs 1 time in a 3 word document would be a lower rank than A
Hi Thomas,
> > Is it possible to write into the index and delete some documents in the
> > same time?
> Yes, have a look at the IndexModifier class.
If by "the same time" you mean "in one session", or something like
that, then yes, IndexModifier will help.
But if you mean from multiple threa
On Freitag 24 März 2006 23:34, WATHELET Thomas wrote:
> Is it possible to write into the index and delete some documents in the
> same time?
Yes, have a look at the IndexModifier class.
--
http://www.danielnaber.de
-
To unsubs
Is it possible to write into the index and delete some documents in the same
time?
If yes could you show me me how to proceed.
I use Lucene 1.9.1
Thanks in advence.
: *public* SpanWeight(SpanQuery query, Searcher searcher)
: *throws* IOException {
: *this*.similarity = query.getSimilarity(searcher);
: *this*.query = query;
: *this*.terms = query.getTerms();
:
: idf = *this*.query.getSimilarity(searcher).idf(terms, searcher);
: }
:
: lack
Here is my search method, maybe it's something wrong with it:
public Vector buscar(String busqueda) throws Exception, Error
{
Vector results = new Vector();
ResultadoBusqueda rb = null;
IndexSearcher searcher = new IndexSearcher("/index");
Analyzer analyzer = new StandardAna
(NOTE: replying back to java-user, for the reasons listed at
http://people.apache.org/~hossman/#private_q )
: Date: Fri, 24 Mar 2006 08:42:29 -
: Subject: Re: Changing ranking
:
: HI Chris,
: Thanks, so would that make it as simple as a document with 5 matching
: occurences ranks higher than
Hi everybody,
it's been a while since I try to figure out the difference between the
scoring of span and boolean
queries with little success. All stems from the observation that the
boost of SpanTermQuery as
leaves of the query tree does not seem to have much influence on the
resulting scores o
You can get the results from the database and then create either some
boolean clauses to append to your existing Lucene query if the number of
results from the data base is small. If the number of results from the
database is large then you can create a filter. (Assuming you have some
common k
10 matches
Mail list logo