  | | | Lucene | Hi
I 've inherited some Lucene 1.9.1 code and have run into the following
problem
I have a TokenGroup with multiple tokens in it and a query that should
match against multiple tokens (e.g. X anFrom J. Delgado <jdelgado@(protected) >
Date Sep 13 2007 7 27 PM
Subject Oracle-Lucene integration (OJVMDirectory and Lucene Domain
Index) - LONG
To java-dev@(protected)
Cc solr-dev@(protected)Searcher is a Searchable and Searchable defines the doc() method with
FieldSelector but I suppose we could add an abstract declaration of
it to Searcher since it has to be implemented on all derHi Eric
Yes they help for particularly this problem - they shrik all avilable
Longs to 14 character strings. So they free me from the limitation that
I wrote about (1970 - 2280 years).
So now the Hello!
I want to index an HTML document with the lucene demo but have problems
parsing some Chinese files.
I changed code in the HTMLDocument class as to be able to define the
encoding of the docactually I show the result with pagination support and they have option to
choose the number of records per page. and yes I should provide a test
program but about the HitCollector I already crea
It works finally .i use Lucene 2.2 in my application.thanks testn and Mike
Michael McCandless-2 wrote
>
>
> It sounds like there may be a Lucene version mismatch? When Luke was used
> it was liI want to know what type of setup i need to get started with Lucene.
Do i need Java and Apache Tomcat on Windows XP.
Devinder
On 14/09/2007 Devinder Singh <devinbhullar@(protected) > wrote
>
> Hi Hi Chris
Thanks do you also have a channel on IRC so we wan communicate.
Devinder
On 14/09/2007 Chris Lu <chris.lu@(protected) > wrote
>
> Hi Devinder
>
> Lucene is agnostic of any database confiHi Devinder
Lucene is agnostic of any database configuration. You need to pull data via
jdbc out and feed it to Lucene to create an index file and then use Lucene
API to search on it.
--
Chris > Hi
>
> I want to use Apache Lucene to do a full text search for Postgresql.
>
> May i know the set up requirements and if it supports postgresql
>
> --
> Devinder
--
Devinder
Ivan - have you considered using NumberUtils?
<http //lucene.zones.apache.org 8080/hudson/job/Lucene-Nightly/
javadoc/org/apache/lucene/document/NumberTools.html >
I 'm curious if those utility m
Hi
Thanks.
However I tested with more terms in title field for instance lucene
sort abc_def and that works.
I deleted the old index file and re-index the whole documents again and
On 13-Sep-07 at 12 37 PM Dan Luria wrote
> What I do is
>
> Doc1 source_doc
> Doc2 new Document()
> foreach (field f in doc1.getfields) {
> Doc2.Add(new Field(doc1.getField(key) doc1.getFieldWhat I do is
Doc1 source_doc
Doc2 new Document()
foreach (field f in doc1.getfields) {
Doc2.Add(new Field(doc1.getField(key) doc1.getField(value))
}
but when i pull the fields from Doc1 i nev
I have this exception there are more terms than documents in field
"Title " but it 's impossible to sort on tokenized fields.
I 'm try to sort the result by Title and the field title is I 'm not entirely sure. So what I 'd do if I were you is write a
little test program and step through it in the debugger and
see <G >....
But if you 're only allowing the user to fetch a single documentHi All
I have made some changes in my Lucene source so that values of numeric
fields to be treated as numbers but not as Strings. After testing
everything seems to work correctly but I still wouAlso ensure that you didn 't inadvertently add an older version of your
Jar file somewhere in your classpath. Eclipse will take the first it
comes to and skip any others found later on in the path
As Mike mentioned what is the version of Lucene you are using? Plus can you
also post the stacktrace?
Sebastin wrote
>
> Hi testn
> i wrote the case wrongly actually the error is
Hi testn
i wrote the case wrongly actually the error is
java.io.ioexception file not found-segments
testn wrote
>
> Should the file be "segments_8 " and "segments.gen "? Why is it "S
It sounds like there may be a Lucene version mismatch? When Luke was used
it was likely based on Lucene 2.2 but it sounds like an older version of
Lucene is now being used to open the index?
Mike
Try to reread jar file on Eclipse.
To do it right-click on your project
then choose refresh.
Thank you
Koji
sandeep chawla wrote
> I have to change lucene code for some reason.
>
> I changed th
Should the file be "segments_8 " and "segments.gen "? Why is it "Segment "? The
case is different.
Sebastin wrote
>
> java.io.IoException File Not Found- Segments is the error message
>
> testn wr
java.io.IoException File Not Found- Segments is the error message
testn wrote
>
> What is the error message? Probably Mike Erick or Yonik can help you
> better on this since I 'm no one in index well actually I have 5 index directory and it will increase in future. and
the thing is that each document about 20 fields on average. considering many
users may connect to the system (we anticipateI have to change lucene code for some reason.
I changed the source code of the lucene and ran the ant command on build.xml.
it created a jar file in build directory then i added the jar file to
my pDo you have any evidence that you 're having a performance issue? If
not I 'd just do the simple thing and ignore the rest. The performance
issues I found were because I was spinning through many manyIf I 'm understanding you correctly the answer is... maybe kinda.
Take a look at some of the Luke code. That tries to reconstruct
document fields from the index but it 's lossy. So it depends
upon wh
What is the error message? Probably Mike Erick or Yonik can help you better
on this since I 'm no one in index area.
Sebastin wrote
>
> HI testn
> 1.I optimize the Large Indexes of s |
|
 |