You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ahmet Aksoy <ah...@axtelsoft.com> on 2005/09/23 16:22:05 UTC

May I use a mixture of indexing methods altogether?

Hi,
I have a project seed in my mind.
I will try to collect everything which have a possibility to be 
remembered by me some day, and I will index them with Lucene.
Instead of using simple keywords, I will try to index whole documents 
wherever possible. So, I can start searching with a simple word, and 
then continue to ask for more detailed answers.
For example, frequently I forget the name of  my acquintances. But I 
don't forget their gender. Or, I can remember some other details of 
them. So, I should index every possible clues.
But, at the other end, I have some other documents -such as some 
passwords, etc- which must be encrypted. Then, I must use some keywords 
for them.
Is it possible to use a mixture of indexing methods for the same 
clusture of documents? Some of them will be very detailed, and some of 
them will contain only a simple keyword.
Is it possible?
Thanks.
Ahmet Aksoy



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi,

You need to do a little bit of research :)  Please search the mailing
list archives (links to them are on Lucene site).  Searcj for
JDBCDirectory.  Use Google and search for +JDBCDirectory +Vito (this is
the name of its author).

Otis

--- Mag Gam <ma...@gmail.com> wrote:

> well, it seems I want to store the index into the database itself.
> ANy ideas
> for that? Even if thats possible?
> 
> 
> On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> >
> > Lucene indices are created in the file system (FSDirectory) or in
> > memory (RAMDirectory). If you want to store them elsewhere, you
> need
> > to implement your own Directory.
> >
> > Otis
> >
> > --- Mag Gam <ma...@gmail.com> wrote:
> >
> > > Otis:
> > >
> > > Thanks for the good and clean explanation! I will first try this
> out,
> > > and
> > > let you know how that goes...what you are saying is making VERY
> good
> > > sense!
> > > Once I index them, will this goto the filesystem, or somewhere
> else?
> > > I want
> > > this index to be created in the table, so I can do quick SELECTs
> thru
> > > there.
> > >
> > > TIA!
> > >
> > >
> > > On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > > >
> > > > It's easy, pull the data from DB using something like JDBC, and
> > > from
> > > > retrieved rows create Lucene Documents. Of course, it gets more
> > > > complicated than this, but start with something simple like
> using
> > > JDBC
> > > > to run SELECTs, converting results to Lucene Documents, and
> index
> > > them
> > > > with IndexWriter.
> > > >
> > > > There are also tools like Compass and DBSight that may help.
> > > >
> > > > Otis
> > > >
> > > >
> > > > --- Mag Gam <ma...@gmail.com> wrote:
> > > >
> > > > > Otis:
> > > > >
> > > > > How do you do that? Got a quick and simple example? We have
> been
> > > > > looking for
> > > > > an example for the last 3-4 months, but no luck....
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 9/25/05, Otis Gospodnetic <ot...@yahoo.com>
> wrote:
> > > > > >
> > > > > > > Is it possible to do that in a database instead of a flat
> > > text
> > > > > file?
> > > > > >
> > > > > > Huh?
> > > > > > You mean is it possible to index a database and not text
> files
> > > in
> > > > > this
> > > > > > fashion? If so: yes.
> > > > > >
> > > > > > Otis
> > > > > >
> > > > > >
> > > > > > > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > > > >
> > > > > > > > Thank you. That was what I meant!
> > > > > > > > I'll try it as soon as possible.
> > > > > > > >
> > > > > > > > Otis Gospodnetic wrote:
> > > > > > > >
> > > > > > > > >If I understand you correctly, then yes, you can index
> > > > > documents
> > > > > > > with
> > > > > > > > >different structures (different field names) in the
> same
> > > > > index.
> > > > > > > > >
> > > > > > > > >Otis
> > > > > > > > >
> > > > > > > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >>Hi,
> > > > > > > > >>I have a project seed in my mind.
> > > > > > > > >>I will try to collect everything which have a
> possibility
> > > to
> > > > > be
> > > > > > > > >>remembered by me some day, and I will index them with
> > > Lucene.
> > > > > > > > >>Instead of using simple keywords, I will try to index
> > > whole
> > > > > > > documents
> > > > > > > > >>
> > > > > > > > >>wherever possible. So, I can start searching with a
> > > simple
> > > > > word,
> > > > > > > and
> > > > > > > > >>then continue to ask for more detailed answers.
> > > > > > > > >>For example, frequently I forget the name of my
> > > acquintances.
> > > > > But
> > > > > > > I
> > > > > > > > >>don't forget their gender. Or, I can remember some
> other
> > > > > details
> > > > > > > of
> > > > > > > > >>them. So, I should index every possible clues.
> > > > > > > > >>But, at the other end, I have some other documents
> -such
> > > as
> > > > > some
> > > > > > > > >>passwords, etc- which must be encrypted. Then, I must
> use
> > > > > some
> > > > > > > > >>keywords
> > > > > > > > >>for them.
> > > > > > > > >>Is it possible to use a mixture of indexing methods
> for
> > > the
> > > > > same
> > > > > > > > >>clusture of documents? Some of them will be very
> > > detailed,
> > > > > and
> > > > > > > some
> > > > > > > > >>of
> > > > > > > > >>them will contain only a simple keyword.
> > > > > > > > >>Is it possible?
> > > > > > > > >>Thanks.
> > > > > > > > >>Ahmet Aksoy
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail:
> > > java-user-unsubscribe@lucene.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > java-user-help@lucene.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> java-user-unsubscribe@lucene.apache.org
> > > > > > For additional commands, e-mail:
> > > java-user-help@lucene.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > > For additional commands, e-mail:
> java-user-help@lucene.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Mag Gam <ma...@gmail.com>.
well, it seems I want to store the index into the database itself. ANy ideas
for that? Even if thats possible?


On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
>
> Lucene indices are created in the file system (FSDirectory) or in
> memory (RAMDirectory). If you want to store them elsewhere, you need
> to implement your own Directory.
>
> Otis
>
> --- Mag Gam <ma...@gmail.com> wrote:
>
> > Otis:
> >
> > Thanks for the good and clean explanation! I will first try this out,
> > and
> > let you know how that goes...what you are saying is making VERY good
> > sense!
> > Once I index them, will this goto the filesystem, or somewhere else?
> > I want
> > this index to be created in the table, so I can do quick SELECTs thru
> > there.
> >
> > TIA!
> >
> >
> > On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > >
> > > It's easy, pull the data from DB using something like JDBC, and
> > from
> > > retrieved rows create Lucene Documents. Of course, it gets more
> > > complicated than this, but start with something simple like using
> > JDBC
> > > to run SELECTs, converting results to Lucene Documents, and index
> > them
> > > with IndexWriter.
> > >
> > > There are also tools like Compass and DBSight that may help.
> > >
> > > Otis
> > >
> > >
> > > --- Mag Gam <ma...@gmail.com> wrote:
> > >
> > > > Otis:
> > > >
> > > > How do you do that? Got a quick and simple example? We have been
> > > > looking for
> > > > an example for the last 3-4 months, but no luck....
> > > >
> > > >
> > > >
> > > >
> > > > On 9/25/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > > > >
> > > > > > Is it possible to do that in a database instead of a flat
> > text
> > > > file?
> > > > >
> > > > > Huh?
> > > > > You mean is it possible to index a database and not text files
> > in
> > > > this
> > > > > fashion? If so: yes.
> > > > >
> > > > > Otis
> > > > >
> > > > >
> > > > > > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > > >
> > > > > > > Thank you. That was what I meant!
> > > > > > > I'll try it as soon as possible.
> > > > > > >
> > > > > > > Otis Gospodnetic wrote:
> > > > > > >
> > > > > > > >If I understand you correctly, then yes, you can index
> > > > documents
> > > > > > with
> > > > > > > >different structures (different field names) in the same
> > > > index.
> > > > > > > >
> > > > > > > >Otis
> > > > > > > >
> > > > > > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >>Hi,
> > > > > > > >>I have a project seed in my mind.
> > > > > > > >>I will try to collect everything which have a possibility
> > to
> > > > be
> > > > > > > >>remembered by me some day, and I will index them with
> > Lucene.
> > > > > > > >>Instead of using simple keywords, I will try to index
> > whole
> > > > > > documents
> > > > > > > >>
> > > > > > > >>wherever possible. So, I can start searching with a
> > simple
> > > > word,
> > > > > > and
> > > > > > > >>then continue to ask for more detailed answers.
> > > > > > > >>For example, frequently I forget the name of my
> > acquintances.
> > > > But
> > > > > > I
> > > > > > > >>don't forget their gender. Or, I can remember some other
> > > > details
> > > > > > of
> > > > > > > >>them. So, I should index every possible clues.
> > > > > > > >>But, at the other end, I have some other documents -such
> > as
> > > > some
> > > > > > > >>passwords, etc- which must be encrypted. Then, I must use
> > > > some
> > > > > > > >>keywords
> > > > > > > >>for them.
> > > > > > > >>Is it possible to use a mixture of indexing methods for
> > the
> > > > same
> > > > > > > >>clusture of documents? Some of them will be very
> > detailed,
> > > > and
> > > > > > some
> > > > > > > >>of
> > > > > > > >>them will contain only a simple keyword.
> > > > > > > >>Is it possible?
> > > > > > > >>Thanks.
> > > > > > > >>Ahmet Aksoy
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > java-user-unsubscribe@lucene.apache.org
> > > > > > > For additional commands, e-mail:
> > > > java-user-help@lucene.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > > > For additional commands, e-mail:
> > java-user-help@lucene.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: May I use a mixture of indexing methods altogether?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Lucene indices are created in the file system (FSDirectory) or in
memory (RAMDirectory).  If you want to store them elsewhere, you need
to implement your own Directory.

Otis

--- Mag Gam <ma...@gmail.com> wrote:

> Otis:
> 
> Thanks for the good and clean explanation! I will first try this out,
> and
> let you know how that goes...what you are saying is making VERY good
> sense!
> Once I index them, will this goto the filesystem, or somewhere else?
> I want
> this index to be created in the table, so I can do quick SELECTs thru
> there.
> 
> TIA!
> 
> 
> On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> >
> > It's easy, pull the data from DB using something like JDBC, and
> from
> > retrieved rows create Lucene Documents. Of course, it gets more
> > complicated than this, but start with something simple like using
> JDBC
> > to run SELECTs, converting results to Lucene Documents, and index
> them
> > with IndexWriter.
> >
> > There are also tools like Compass and DBSight that may help.
> >
> > Otis
> >
> >
> > --- Mag Gam <ma...@gmail.com> wrote:
> >
> > > Otis:
> > >
> > > How do you do that? Got a quick and simple example? We have been
> > > looking for
> > > an example for the last 3-4 months, but no luck....
> > >
> > >
> > >
> > >
> > > On 9/25/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > > >
> > > > > Is it possible to do that in a database instead of a flat
> text
> > > file?
> > > >
> > > > Huh?
> > > > You mean is it possible to index a database and not text files
> in
> > > this
> > > > fashion? If so: yes.
> > > >
> > > > Otis
> > > >
> > > >
> > > > > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > >
> > > > > > Thank you. That was what I meant!
> > > > > > I'll try it as soon as possible.
> > > > > >
> > > > > > Otis Gospodnetic wrote:
> > > > > >
> > > > > > >If I understand you correctly, then yes, you can index
> > > documents
> > > > > with
> > > > > > >different structures (different field names) in the same
> > > index.
> > > > > > >
> > > > > > >Otis
> > > > > > >
> > > > > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >>Hi,
> > > > > > >>I have a project seed in my mind.
> > > > > > >>I will try to collect everything which have a possibility
> to
> > > be
> > > > > > >>remembered by me some day, and I will index them with
> Lucene.
> > > > > > >>Instead of using simple keywords, I will try to index
> whole
> > > > > documents
> > > > > > >>
> > > > > > >>wherever possible. So, I can start searching with a
> simple
> > > word,
> > > > > and
> > > > > > >>then continue to ask for more detailed answers.
> > > > > > >>For example, frequently I forget the name of my
> acquintances.
> > > But
> > > > > I
> > > > > > >>don't forget their gender. Or, I can remember some other
> > > details
> > > > > of
> > > > > > >>them. So, I should index every possible clues.
> > > > > > >>But, at the other end, I have some other documents -such
> as
> > > some
> > > > > > >>passwords, etc- which must be encrypted. Then, I must use
> > > some
> > > > > > >>keywords
> > > > > > >>for them.
> > > > > > >>Is it possible to use a mixture of indexing methods for
> the
> > > same
> > > > > > >>clusture of documents? Some of them will be very
> detailed,
> > > and
> > > > > some
> > > > > > >>of
> > > > > > >>them will contain only a simple keyword.
> > > > > > >>Is it possible?
> > > > > > >>Thanks.
> > > > > > >>Ahmet Aksoy
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> java-user-unsubscribe@lucene.apache.org
> > > > > > For additional commands, e-mail:
> > > java-user-help@lucene.apache.org
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > > For additional commands, e-mail:
> java-user-help@lucene.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Mag Gam <ma...@gmail.com>.
Otis:

Thanks for the good and clean explanation! I will first try this out, and
let you know how that goes...what you are saying is making VERY good sense!
Once I index them, will this goto the filesystem, or somewhere else? I want
this index to be created in the table, so I can do quick SELECTs thru there.

TIA!


On 9/26/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
>
> It's easy, pull the data from DB using something like JDBC, and from
> retrieved rows create Lucene Documents. Of course, it gets more
> complicated than this, but start with something simple like using JDBC
> to run SELECTs, converting results to Lucene Documents, and index them
> with IndexWriter.
>
> There are also tools like Compass and DBSight that may help.
>
> Otis
>
>
> --- Mag Gam <ma...@gmail.com> wrote:
>
> > Otis:
> >
> > How do you do that? Got a quick and simple example? We have been
> > looking for
> > an example for the last 3-4 months, but no luck....
> >
> >
> >
> >
> > On 9/25/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > >
> > > > Is it possible to do that in a database instead of a flat text
> > file?
> > >
> > > Huh?
> > > You mean is it possible to index a database and not text files in
> > this
> > > fashion? If so: yes.
> > >
> > > Otis
> > >
> > >
> > > > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > >
> > > > > Thank you. That was what I meant!
> > > > > I'll try it as soon as possible.
> > > > >
> > > > > Otis Gospodnetic wrote:
> > > > >
> > > > > >If I understand you correctly, then yes, you can index
> > documents
> > > > with
> > > > > >different structures (different field names) in the same
> > index.
> > > > > >
> > > > > >Otis
> > > > > >
> > > > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > >>Hi,
> > > > > >>I have a project seed in my mind.
> > > > > >>I will try to collect everything which have a possibility to
> > be
> > > > > >>remembered by me some day, and I will index them with Lucene.
> > > > > >>Instead of using simple keywords, I will try to index whole
> > > > documents
> > > > > >>
> > > > > >>wherever possible. So, I can start searching with a simple
> > word,
> > > > and
> > > > > >>then continue to ask for more detailed answers.
> > > > > >>For example, frequently I forget the name of my acquintances.
> > But
> > > > I
> > > > > >>don't forget their gender. Or, I can remember some other
> > details
> > > > of
> > > > > >>them. So, I should index every possible clues.
> > > > > >>But, at the other end, I have some other documents -such as
> > some
> > > > > >>passwords, etc- which must be encrypted. Then, I must use
> > some
> > > > > >>keywords
> > > > > >>for them.
> > > > > >>Is it possible to use a mixture of indexing methods for the
> > same
> > > > > >>clusture of documents? Some of them will be very detailed,
> > and
> > > > some
> > > > > >>of
> > > > > >>them will contain only a simple keyword.
> > > > > >>Is it possible?
> > > > > >>Thanks.
> > > > > >>Ahmet Aksoy
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > > > For additional commands, e-mail:
> > java-user-help@lucene.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: May I use a mixture of indexing methods altogether?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
It's easy, pull the data from DB using something like JDBC, and from
retrieved rows create Lucene Documents.  Of course, it gets more
complicated than this, but start with something simple like using JDBC
to run SELECTs, converting results to Lucene Documents, and index them
with IndexWriter.

There are also tools like Compass and DBSight that may help.

Otis


--- Mag Gam <ma...@gmail.com> wrote:

> Otis:
> 
> How do you do that? Got a quick and simple example? We have been
> looking for
> an example for the last 3-4 months, but no luck....
> 
> 
> 
> 
> On 9/25/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> >
> > > Is it possible to do that in a database instead of a flat text
> file?
> >
> > Huh?
> > You mean is it possible to index a database and not text files in
> this
> > fashion? If so: yes.
> >
> > Otis
> >
> >
> > > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > >
> > > > Thank you. That was what I meant!
> > > > I'll try it as soon as possible.
> > > >
> > > > Otis Gospodnetic wrote:
> > > >
> > > > >If I understand you correctly, then yes, you can index
> documents
> > > with
> > > > >different structures (different field names) in the same
> index.
> > > > >
> > > > >Otis
> > > > >
> > > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > > >
> > > > >
> > > > >
> > > > >>Hi,
> > > > >>I have a project seed in my mind.
> > > > >>I will try to collect everything which have a possibility to
> be
> > > > >>remembered by me some day, and I will index them with Lucene.
> > > > >>Instead of using simple keywords, I will try to index whole
> > > documents
> > > > >>
> > > > >>wherever possible. So, I can start searching with a simple
> word,
> > > and
> > > > >>then continue to ask for more detailed answers.
> > > > >>For example, frequently I forget the name of my acquintances.
> But
> > > I
> > > > >>don't forget their gender. Or, I can remember some other
> details
> > > of
> > > > >>them. So, I should index every possible clues.
> > > > >>But, at the other end, I have some other documents -such as
> some
> > > > >>passwords, etc- which must be encrypted. Then, I must use
> some
> > > > >>keywords
> > > > >>for them.
> > > > >>Is it possible to use a mixture of indexing methods for the
> same
> > > > >>clusture of documents? Some of them will be very detailed,
> and
> > > some
> > > > >>of
> > > > >>them will contain only a simple keyword.
> > > > >>Is it possible?
> > > > >>Thanks.
> > > > >>Ahmet Aksoy
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > > For additional commands, e-mail:
> java-user-help@lucene.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Mag Gam <ma...@gmail.com>.
Otis:

How do you do that? Got a quick and simple example? We have been looking for
an example for the last 3-4 months, but no luck....




On 9/25/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
>
> > Is it possible to do that in a database instead of a flat text file?
>
> Huh?
> You mean is it possible to index a database and not text files in this
> fashion? If so: yes.
>
> Otis
>
>
> > On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > >
> > > Thank you. That was what I meant!
> > > I'll try it as soon as possible.
> > >
> > > Otis Gospodnetic wrote:
> > >
> > > >If I understand you correctly, then yes, you can index documents
> > with
> > > >different structures (different field names) in the same index.
> > > >
> > > >Otis
> > > >
> > > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > > >
> > > >
> > > >
> > > >>Hi,
> > > >>I have a project seed in my mind.
> > > >>I will try to collect everything which have a possibility to be
> > > >>remembered by me some day, and I will index them with Lucene.
> > > >>Instead of using simple keywords, I will try to index whole
> > documents
> > > >>
> > > >>wherever possible. So, I can start searching with a simple word,
> > and
> > > >>then continue to ask for more detailed answers.
> > > >>For example, frequently I forget the name of my acquintances. But
> > I
> > > >>don't forget their gender. Or, I can remember some other details
> > of
> > > >>them. So, I should index every possible clues.
> > > >>But, at the other end, I have some other documents -such as some
> > > >>passwords, etc- which must be encrypted. Then, I must use some
> > > >>keywords
> > > >>for them.
> > > >>Is it possible to use a mixture of indexing methods for the same
> > > >>clusture of documents? Some of them will be very detailed, and
> > some
> > > >>of
> > > >>them will contain only a simple keyword.
> > > >>Is it possible?
> > > >>Thanks.
> > > >>Ahmet Aksoy
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: May I use a mixture of indexing methods altogether?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
> Is it possible to do that in a database instead of a flat text file?

Huh?
You mean is it possible to index a database and not text files in this
fashion?  If so: yes.

Otis


> On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> >
> > Thank you. That was what I meant!
> > I'll try it as soon as possible.
> >
> > Otis Gospodnetic wrote:
> >
> > >If I understand you correctly, then yes, you can index documents
> with
> > >different structures (different field names) in the same index.
> > >
> > >Otis
> > >
> > >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> > >
> > >
> > >
> > >>Hi,
> > >>I have a project seed in my mind.
> > >>I will try to collect everything which have a possibility to be
> > >>remembered by me some day, and I will index them with Lucene.
> > >>Instead of using simple keywords, I will try to index whole
> documents
> > >>
> > >>wherever possible. So, I can start searching with a simple word,
> and
> > >>then continue to ask for more detailed answers.
> > >>For example, frequently I forget the name of my acquintances. But
> I
> > >>don't forget their gender. Or, I can remember some other details
> of
> > >>them. So, I should index every possible clues.
> > >>But, at the other end, I have some other documents -such as some
> > >>passwords, etc- which must be encrypted. Then, I must use some
> > >>keywords
> > >>for them.
> > >>Is it possible to use a mixture of indexing methods for the same
> > >>clusture of documents? Some of them will be very detailed, and
> some
> > >>of
> > >>them will contain only a simple keyword.
> > >>Is it possible?
> > >>Thanks.
> > >>Ahmet Aksoy
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Mag Gam <ma...@gmail.com>.
Is it possible to do that in a database instead of a flat text file?


On 9/24/05, Ahmet Aksoy <ah...@axtelsoft.com> wrote:
>
> Thank you. That was what I meant!
> I'll try it as soon as possible.
>
> Otis Gospodnetic wrote:
>
> >If I understand you correctly, then yes, you can index documents with
> >different structures (different field names) in the same index.
> >
> >Otis
> >
> >--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
> >
> >
> >
> >>Hi,
> >>I have a project seed in my mind.
> >>I will try to collect everything which have a possibility to be
> >>remembered by me some day, and I will index them with Lucene.
> >>Instead of using simple keywords, I will try to index whole documents
> >>
> >>wherever possible. So, I can start searching with a simple word, and
> >>then continue to ask for more detailed answers.
> >>For example, frequently I forget the name of my acquintances. But I
> >>don't forget their gender. Or, I can remember some other details of
> >>them. So, I should index every possible clues.
> >>But, at the other end, I have some other documents -such as some
> >>passwords, etc- which must be encrypted. Then, I must use some
> >>keywords
> >>for them.
> >>Is it possible to use a mixture of indexing methods for the same
> >>clusture of documents? Some of them will be very detailed, and some
> >>of
> >>them will contain only a simple keyword.
> >>Is it possible?
> >>Thanks.
> >>Ahmet Aksoy
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: May I use a mixture of indexing methods altogether?

Posted by Ahmet Aksoy <ah...@axtelsoft.com>.
Thank you.  That was what I meant!
I'll try it as soon as possible.

Otis Gospodnetic wrote:

>If I understand you correctly, then yes, you can index documents with
>different structures (different field names) in the same index.
>
>Otis
>
>--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:
>
>  
>
>>Hi,
>>I have a project seed in my mind.
>>I will try to collect everything which have a possibility to be 
>>remembered by me some day, and I will index them with Lucene.
>>Instead of using simple keywords, I will try to index whole documents
>>
>>wherever possible. So, I can start searching with a simple word, and 
>>then continue to ask for more detailed answers.
>>For example, frequently I forget the name of  my acquintances. But I 
>>don't forget their gender. Or, I can remember some other details of 
>>them. So, I should index every possible clues.
>>But, at the other end, I have some other documents -such as some 
>>passwords, etc- which must be encrypted. Then, I must use some
>>keywords 
>>for them.
>>Is it possible to use a mixture of indexing methods for the same 
>>clusture of documents? Some of them will be very detailed, and some
>>of 
>>them will contain only a simple keyword.
>>Is it possible?
>>Thanks.
>>Ahmet Aksoy
>>
>>
>>
>>    
>>
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: May I use a mixture of indexing methods altogether?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
If I understand you correctly, then yes, you can index documents with
different structures (different field names) in the same index.

Otis

--- Ahmet Aksoy <ah...@axtelsoft.com> wrote:

> Hi,
> I have a project seed in my mind.
> I will try to collect everything which have a possibility to be 
> remembered by me some day, and I will index them with Lucene.
> Instead of using simple keywords, I will try to index whole documents
> 
> wherever possible. So, I can start searching with a simple word, and 
> then continue to ask for more detailed answers.
> For example, frequently I forget the name of  my acquintances. But I 
> don't forget their gender. Or, I can remember some other details of 
> them. So, I should index every possible clues.
> But, at the other end, I have some other documents -such as some 
> passwords, etc- which must be encrypted. Then, I must use some
> keywords 
> for them.
> Is it possible to use a mixture of indexing methods for the same 
> clusture of documents? Some of them will be very detailed, and some
> of 
> them will contain only a simple keyword.
> Is it possible?
> Thanks.
> Ahmet Aksoy
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org