Chris Hostetter fucit.org> writes:
>
> So why couldn't a user specified NumberFormat object be used to
> convert that string into an Integer? Allowing people to format
> their numbers in a way that sorts lexigraphically for Range Filters,
> but still get the good Numeric Sot
Stephan,
On Monday 21 March 2005 22:35, Stefan Groschupf wrote:
> Hi there,
> how to get the real boost value of a field or document?
> The java doc says that it is _may_ not correct returned when reading a
> document with a index reader.
> Any hints how to get the boost when reading a document
I think there are some taglibs that let you call functions on objects,
but you could also considering wrapping Hits in something that is JSTL
friendly, perhaps a List that JSTL knows how to handle.
Otis
--- Omar Didi <[EMAIL PROTECTED]> wrote:
> I have the following expression :
>
>
>
> resu
Hello,
Sorry if this is stating the obvious, but have you used Luke to verify
that the new documents were indexed in the first place? Sorry if
you've already mentioned this.
Otis
--- [EMAIL PROTECTED] wrote:
> > When do you open the index writer? Where is the code?
>
> Ah, sorry. That last s
Stefan,
Boosts are not stored directly, necessarily. Each field has an
associated normalization factor, of which boost is multiplied into.
This value is precomputed at indexing time, so getting the boost isn't
possible unless the length normalization is 1.0 (which is not usually a
good idea).
Hi there,
how to get the real boost value of a field or document?
The java doc says that it is _may_ not correct returned when reading a
document with a index reader.
Any hints how to get the boost when reading a document?
Thanks.
Stefan
-
I have the following expression :
results is of type Hits, i want to know if there is a way using Expression
language or jstl to access for example: result.doc(i).
correct, we also can't see the new documents when we open an IndexReader to the
main index.
Roy.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Ah, sorry. That last section is in a method that gets called
> in a loop.
The shortest version of your code is:
-
void mainFunction() {
IndexWriter writer = null;
writer = new IndexWriter( mainindex, n
> When do you open the index writer? Where is the code?
Ah, sorry. That last section is in a method that gets called in a loop.
IndexWriter writer = null;
try {
writer = new IndexWriter( mainindex, new StandardAnalyzer(), false
);
for ( int i = 0; i < dir
: One annoyance I have run across is the impedance mismatch between
: range queries and sorting.
:
: If your terms are indexed as standard numbers, then integer sorting
: is fast, but range queries don't work (for negative values). If you
: format the terms such that range queries work for any i
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I just realized that the way I described our process was off a little
> bit.
>
> Here's the process again:
>
> I apologize for the amount of code below.
When do you open the index writer? Where is the code?
Pasha Bizhan
http://lucene
Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I just realized that the way I described our process was off
> a little bit.
>
> Here's the process again:
>
> I apologize for the amount of code below.
When you open the index writer? Where is the code?
Pasha Bizhan
http://lucenedo
: One annoyance I have run across is the impedance mismatch between
: range queries and sorting.
:
: If your terms are indexed as standard numbers, then integer sorting
: is fast, but range queries don't work (for negative values). If you
: format the terms such that range queries work for any in
On Sat, 19 Mar 2005 22:43:44 +0300, Pasha Bizhan <[EMAIL PROTECTED]> wrote:
> Could you provide the code snippets for your process?
>
Sure (thanx for helping, btw)
I just realized that the way I described our process was off a little bit.
Here's the process again:
1. grab all index Directorys
Aad Nales wrote:
Perhaps i misunderstand but it seems to me that if you execute the add
with two times a false value you will end up with the required result.
(content:test) (filename:test)
which is equivalent to your requested query.
hope this helps,
Aad Nales
Gusenbauer Stefan wrote:
Hello,
at
> From: [EMAIL PROTECTED]
> Sent: Fri 3/18/2005 11:34 PM
> Is there any way to detect the index's integrity?
> Sometimes I came upon exceptions like these. If it happens, my only way
> is to delete the corrupted index.
>* Exception in thread "main" java.io.IOException : read past EOF
>*
Perhaps i misunderstand but it seems to me that if you execute the add
with two times a false value you will end up with the required result.
(content:test) (filename:test)
which is equivalent to your requested query.
hope this helps,
Aad Nales
Gusenbauer Stefan wrote:
Hello,
at the moment i cann
Hello,
at the moment i cannot search through the mailinglist archives so i will
bother you. I will search over multiple fields for example content and
filename. The MultiFieldQueryParser is not applicable for me so i create
the query syntax programmatically. The querystring is parsed with the
Q
On Sun, 2005-03-20 at 00:49 -0800, Chris Hostetter wrote:
> Actually, your "Split across several pages" comment implies that you want
> a system which can tell that page 1 of a multipage article should be
> grouped with page 2 -- which may be radically different content. Most
> multipage documents
20 matches
Mail list logo