COMPRESSION'
I need it here:
config = IndexWriterConfig(analyzer)
config.setOpenMode(IndexWriterConfig.OpenMode.CREATE)
config.setCode(Lucene100Codec(Lucene100Codec.Mode.BEST_COMPRESSION))
Prashant
On Sat, Oct 26, 2024 at 8:13 PM Andi Vajda wrote:
>
> > On Oct 26, 2024, at 16
There must be an explanation about 83 MB of compressed data getting almost
double of its size. It doesn't make sense at all.
On Sat, Oct 26, 2024 at 7:03 PM Andi Vajda wrote:
>
> > On Oct 26, 2024, at 14:50, Prashant Saxena
> wrote:
> >
> > I just need to sto
I just need to store compressed strings to save space. If it can be done in
any other way, I'm OK with that.
On Sat, Oct 26, 2024 at 6:11 PM Andi Vajda wrote:
>
> On Sat, 26 Oct 2024, Prashant Saxena wrote:
>
> > PyLucene 10.0.0
> >
> > I'm trying to stor
PyLucene 10.0.0
I'm trying to store a long text by compressing it first using zlib
*doc.add(StoredField("contents", zlib.compress(ftext.encode('utf-8'*
The resulting index size is *~83 MB*. When reading it's value back using
*c = doc.getBinaryValue("contents")*
It's returning 'NoneType' an
Here is the reference in the documentation:
https://lucene.apache.org/core/10_0_0/queryparser/org/apache/lucene/queryparser/flexible/standard/StandardQueryParser.html
Code:
sqparser = StandardQueryParser()
config = sqparser.getQueryConfigHandler()
#config.setAllowLeadingWildcard(False);
#config.s
I do have a set of old lucene index files, probably 15-20 years old. Every
index directory contains
four files, something like these...(size is different)
_0.cfx 47, 942 KB
_s.cfs 1,78,687 KB
segments.gen1 KB
segments_2 1 KB
When I try to open an index using Py
rote:
>
> On Tue, 22 Oct 2024, Prashant Saxena wrote:
>
> > Voila;-)
> > The PyLucene extension is finally built on Windows.
>
> Does it run, do the tests pass ? run "make test"...
>
> > Thanks Andi, I really
> > appreciate your help &
eserved T_BYTE \
--reserved T_CHAR \
--reserved T_DOUBLE \
--reserved T_FLOAT \
--reserved T_INT \
--reserved T_LONG \
--reserved T_SHORT \
and everything works fine. Just doing some leftover things in the python
build script.
Prashant
On Tue, Oct 22, 2024 at 3:26 PM Andi Vajda wrote:
>
>
/objectweb/asm/Type.h(88)
static jint VOID;
On Tue, Oct 22, 2024 at 12:37 PM Andi Vajda wrote:
>
> > On Oct 22, 2024, at 09:01, Prashant Saxena
> wrote:
> >
> > Ok, much less errors after building and reinstalling JCC
> >
> >
> D:\projects\database\pylucene-10.0.
Visual
Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe'
failed with exit code 2
On Tue, Oct 22, 2024 at 12:11 PM Andi Vajda wrote:
>
> On Tue, 22 Oct 2024, Prashant Saxena wrote:
>
> > Ok, here are the changes as requested in jcc/jcc3/cpp.py
&g
27;
D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/Double.h(22):
note: see declaration of 'java::lang'
D:\projects\database\pylucene-10.0.0\build\_lucene\java/lang/Process.h(76):
error C3646: 'info': unknown override specifier
D:\projects\database\pylucene-10.0.0\build\_lucen
ic ': ignored on left of 'int' when no variable is
declared
Now I have decided to give up. It seems PyLucene was never meant to work on
Windows.
On Mon, Oct 21, 2024 at 1:13 AM Andi Vajda wrote:
>
> > On Oct 20, 2024, at 21:21, Prashant Saxena
> wrote:
> >
>
it's not working.
On Mon, Oct 21, 2024 at 12:34 AM Andi Vajda wrote:
>
> > On Oct 20, 2024, at 21:00, Andi Vajda wrote:
> >
> >
> >> On Oct 20, 2024, at 20:52, Prashant Saxena
> wrote:
> >>
> >> As per the documentation first I typed
As per the documentation first I typed
"gradlew assemble"
then I typed
"gradlew check", so yes I have invoked it myself.
On Mon, Oct 21, 2024 at 12:17 AM Andi Vajda wrote:
>
> > On Oct 20, 2024, at 20:17, Prashant Saxena
> wrote:
> >
> > Again bac
PM Andi Vajda wrote:
>
> > On Oct 20, 2024, at 18:33, Prashant Saxena
> wrote:
> >
> > With jdk-17.0.12, all the lucene jars have been built successfully,
> however
> > I'm missing these
> > 4 files. Could you please tell me more about these fil
>
> On Sun, Oct 20, 2024 at 7:25 AM Prashant Saxena
> wrote:
>
> > Hello,
> > OS : Windows 10
> > PyLucene : 9.7.0
> > JDK : 23.0
> >
> > Although I can download the binary distribution of version 9.7.0, I have
> > decided to build it from scr
Hello,
OS : Windows 10
PyLucene : 9.7.0
JDK : 23.0
Although I can download the binary distribution of version 9.7.0, I have
decided to build it from scratch as
I am new to javascript and lucene. It will help me learn.
1. downloading and extracting pylucene
2. cd lucene-java-9.7.0
3. gradlew.bat a
17 matches
Mail list logo