How can I get phrase frequency in an index? termDocs/termPositions in
IndexReader work only with words
Thanks
Ravi.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Otis, we've been continually impressed with the performance of Lucene.
We've been ever increasing the load we are putting on it (from our small
help section, to our slightly larger metros, to our big groups, and then
our gigantic weblogs), and it has meet each of these challenges
wonderfully.
W
All,
First, my thanks to those who've contributed to the current
best practices for highlighting. We use your code!
However, after reviewing recent discussions about highlighting,
and struggling with our own highlighting issues, I'm wondering if
there's a better way.
Others have certainly thoug
Hi Dan,
What's the term? Could this be an analyzer problem? Are you using
the same analyzer for indexing and searching?
Fred
At 09:06 PM 8/24/2005, you wrote:
I have the following strange behavior for an index. The index has been
optimized and has no deletions. It's in compound file format.
U
Dan Climan wrote:
I have the following strange behavior for an index. The index has been
optimized and has no deletions. It's in compound file format.
Using Luke 0.6 I can browse by Term and find my term (ItemId:727680). It's a
Keyword field. It shows a docfreq of this term is 1. It also shows
I have the following strange behavior for an index. The index has been
optimized and has no deletions. It's in compound file format.
Using Luke 0.6 I can browse by Term and find my term (ItemId:727680). It's a
Keyword field. It shows a docfreq of this term is 1. It also shows all the
document fie
the approach(es) I described in this thread...
http://mail-archives.apache.org/mod_mbox/lucene-java-user/200505.mbox/[EMAIL
PROTECTED]
...should work, but you have the added complexity of whating the counts
not just for all unique values in a field, but all the permutations of
values from two f
Would you want to update, or could you just append to
an existing Index?
Thanks, B
--- Ray Tsang <[EMAIL PROTECTED]> wrote:
> This could be off topic, but I made something that
> updates indices
> that worked like the following, wonder if anybody
> has the same ideas?
> I found something like In
On Wed, 2005-08-24 at 12:10 -0300, [EMAIL PROTECTED] wrote:
> Now, while I agree that simple is better, I think QueryParser should
> be made thread-safe through the use of a wrapper class (along the
> line of what Luc suggested) or by using something other than javacc,
> so this is no longer an
Thanks for all the answers!
Now, while I agree that simple is better, I think QueryParser should
be made thread-safe through the use of a wrapper class (along the
line of what Luc suggested) or by using something other than javacc,
so this is no longer an issue in future lucene versions.
I ca
On Wednesday 24 August 2005 13:07, Fredrik wrote:
> bsh % i = d.openFile("copy.tii");
> bsh % print (i.readVInt());
> 266338303
I haven't looked in the source, but according to the documentation the first
value is supposed to be a version number:
http://lucene.apache.org/java/docs/fileformats.ht
On Wednesday 24 August 2005 12:47, [EMAIL PROTECTED] wrote:
> what can i do with files which are deleted from the document directory?
> How can i delete them from the index, if i start an update?
See IndexHTML.java in the Lucene demos.
Regards
Daniel
---
Hi,
I create my index with TermVector.WITH_POSITIONS_OFFSETS and get the term
offsets with the following code. The code collects two arrays: HFIDs (unique
ID's stored with documents) and Highlights (strings with offset info).
Please note that this code requires the patch from bug #36292
(http://i
We have a Lucene powered search with approx 1,2 million documents indexed.
We get sporadic OutOfMemory errors when users search this index (have tried
rebuilding the index several times from scratch), as Lucene tries to allocate
over 500 MB of memory.
Luke reports the following details:
Number of
Hi,
what can i do with files which are deleted from the document directory?
How can i delete them from the index, if i start an update?
Currently i start a search in the index for existing documents and delete
them, when they have changed! After that session i add all the documents,
which are not
well you're not going to like my answer, to that, if what you're looking
for is a group by result depending on the unique values of a field or a
combination of fields ( field-3 field-4 ), something that in SQL would
look like this :
select field-3 , field-4 , count(*) from ... where . grou
I would just create a new QueryParser for each query. Allocating
short-lived objects is just about free in java, and the time spent
performing the actual search will by far dominate any time spent
constructing QueryParser objects.
On 8/24/05, Vanlerberghe, Luc <[EMAIL PROTECTED]> wrote:
> Thanks
Thanks for pointing that out!
I checked the source and QueryParser is indeed not thread-safe (the
presence of local variables like jj_lastpos that are used *during* the
parsing makes this obvious)
Perhaps it should be explicitly mentioned in the javadoc.
The solution I'll probably go for is using
Thanks for the prompt reply.
I have to bunch the results [only the count] on the basis of value of one of
the FIELDS.
lets say FILED-3 and with in it FILED-4.
It is very much similar to using "group by"
What can be the options of doing this? And which is the best way to do it?
Thanks in antic
I don't understand your requirement, what do you want to bunch your
results by?
Can you explain so I can help
Nader Henein
kapilChhabra (sent by Nabble.com) wrote:
Hi All,
I have been using Lucene in my application to search over 4 million recordes
updated daily.
I am currently using a sing
Hi All,
I have been using Lucene in my application to search over 4 million recordes
updated daily.
I am currently using a single index with 21 fields.
Some of my fields contain numbers that are foreign keys to my data. I have
provided a dropdown of values to select from, on my search form, to s
Ok thanks, this works *is building the new jar at the moment*
-Oorspronkelijk bericht-
Van: Paul Elschot [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 24 augustus 2005 8:30
Aan: java-user@lucene.apache.org
Onderwerp: Re: how to get newest library version?
On Tuesday 23 August 2005 23:45,
22 matches
Mail list logo