Hi all,
Can we add sub fields or sub documents to support complex searches?
For example:
I would like to create a document that contains the following fields:
Title
Content
Text1
Text2
…
TextN
But each text have sub fields like Text1_type, Text1_color and so on… can
we create a tree of fields or s
Thank you Itamar.
On Tue, Aug 7, 2012 at 2:41 PM, Itamar Syn-Hershko wrote:
> Lucene.Net 2.9.4 is compatible with the Java version bearing the same
> version number, so is 3.0.3
>
> We will soon begin porting the 3.6 version
>
> On Tue, Aug 7, 2012 at 2:29 PM, Omri Suissa >wrote:
>
> > Hi all,
>
Lucene.Net 2.9.4 is compatible with the Java version bearing the same
version number, so is 3.0.3
We will soon begin porting the 3.6 version
On Tue, Aug 7, 2012 at 2:29 PM, Omri Suissa wrote:
> Hi all,
> We are testing to implement lucene.net in our solution and i was wondering
> about lucene.ne
It turns out my problem was user inflicted data changing, I wasn't finding
what I was looking for because my document manager changed things and
removed files it turns out.
I ended up generating an example program to demonstrate the problem I
thought I had, so I'm going to post it for posterity,
t to be the original document and 3 references from other
documents.
Thanks,
Shane
From: "Simon Svensson"
To:
Cc: Shane Bumpurs/US/OLIGOMERS/INEOS@INEOS
Date: 05/14/2012 10:02 AM
Subject:RE: Question on basic functionality
Hi,
You describe two separate probl
[email protected] [mailto:[email protected]]
Sent: Monday, May 14, 2012 4:22 PM
To: [email protected]
Subject: Question on basic functionality
I've been trying various things to try to make the indexing faster. I've not
been able to do successful searches when I do
I've been trying various things to try to make the indexing faster. I've
not been able to do successful searches when I don't do an optimize and
commit after adding each document. It does return a value, but not all of
the values I'm expecting. I've tried moving the commit to the end, which
s topdocs1 = src.Search(query1, 10);
>TopDocs topdocs2 = src.Search(query2, 10);
>
>
> DIGY
>
> -Original Message-
> From: Gustavo Poll [mailto:[email protected]]
> Sent: Monday, July 25, 2011 10:55 PM
> To: [email protected]
> Subject
src.Search(query1, 10);
TopDocs topdocs2 = src.Search(query2, 10);
DIGY
-Original Message-
From: Gustavo Poll [mailto:[email protected]]
Sent: Monday, July 25, 2011 10:55 PM
To: [email protected]
Subject: [Lucene.Net] Simple Question: boolean operator shortc
I believe "a -b" is "a OR NOT b", assuming the default operator is OR.
-Original Message-
From: Gustavo Poll [mailto:[email protected]]
Sent: Monday, July 25, 2011 3:55 PM
To: [email protected]
Subject: [Lucene.Net] Simple Question: boolean operator s
Hi everyone,
I've a simple question, but until now I couldn´t find the answer googling
it... If you could help me, thanks so much...
In the book Lucene in Action, this table is written:
Table 3.7 Boolean query operator shortcuts
Verbose syntax Shortcut syntax
a
token = fifo.Dequeue();
}
}
}
return token;
}
-Original Message-
From: Trevor Watson [mailto:[email protected]]
Sent: Thursday, June 16, 2011 11:50 AM
To: [email protected]
Subject: Re: [Lucene.Net] Ana
vor Watson [mailto:[email protected]]
Sent: Thursday, June 16, 2011 6:31 PM
To: [email protected]
Subject: [Lucene.Net] Analyzer Question for Lucene.Net
I'm trying to get Lucene.Net to create terms the way that we want it to
happen. I'm currently running Lucene.Net 2.9
sday, June 16, 2011 8:31 AM
To: [email protected]
Subject: [Lucene.Net] Analyzer Question for Lucene.Net
> I'm trying to get Lucene.Net to create terms the way that we want it to
> happen. I'm currently running Lucene.Net 2.9.2.2.
>
> Bascially, we wa
I figured out a work-around in the custom analyzer by doing the folllowing
// --- code block -
public override TokenStream TokenStream(string fieldName,
System.IO.TextReader reader)
{
TextReader newReader = new
StringReader(reader.ReadToEnd().Rep
I'm trying to get Lucene.Net to create terms the way that we want it to
happen. I'm currently running Lucene.Net 2.9.2.2.
Bascially, we want the StandardAnalyzer with the exception that we want
terms to be divided at a period as well. The StandardAnalyzer seems to
only split the 2 words into
You can llok: http://www.walnutilsoft.com/
In this solution you have integrated Lucine solutiion for SQL Server and Oracle
databases as well.
Here is my product, it's free.
Also you can see simple code for .net and java Lucine.
Thanks,
Igor
> Subject: RE: Question
> Date: Wed,
e.apache.org
Subject: Re: Question
You don't actually install Lucene.Net, it's just a library which you
reference into your application. Solr is an installable Lucene service,
which essentially provides RESTful endpoints to Lucene (java), or so goes my
understanding.
With regards to w
t and create an index.
>
> ~P
>
>
>
>
> > From: [email protected]
> > Date: Wed, 2 Feb 2011 12:09:01 +1100
> > Subject: Re: Question
> > To: [email protected]
> >
> > Lucene.Net uses the same binary data store that Lucene
x?msg=2428047
Once you extract the plain text - that is where Lucene comes in to parse that
plain text and create an index.
~P
> From: [email protected]
> Date: Wed, 2 Feb 2011 12:09:01 +1100
> Subject: Re: Question
> To: [email protected]
>
> Lucene.N
rary from mssql? Where
> does the indexing gets stored? Do I need to provide a database for do files
> I need indexed, and for the index as well? May be my questions are a little
> bit too entry level.
>
> > From: [email protected]
> > Date: Wed, 2 Feb 2011 11:04:
little bit too
entry level.
> From: [email protected]
> Date: Wed, 2 Feb 2011 11:04:45 +1100
> Subject: Re: Question
> To: [email protected]
>
> You don't actually install Lucene.Net, it's just a library which you
> reference into your appl
You don't actually install Lucene.Net, it's just a library which you
reference into your application. Solr is an installable Lucene service,
which essentially provides RESTful endpoints to Lucene (java), or so goes my
understanding.
With regards to what you can search with Lucene, well that really
I am new to Lucene and have the following questions. What is the best way to
understand what is required to install Lucene in a server? Also, can i make
Lucene run searches on links to xml data on the web?Thanks
.apache.org
Subject: Term position offset question
Hey all,
I'm trying to implement the SynonymFilter from Lucene In Action (p. 133 in the
2nd edition). (The sample code can be downloaded from
http://www.manning.com/hatcher3/ albeit in Java form).
Basically, I have a something like:
cla
Hey all,
I'm trying to implement the SynonymFilter from Lucene In Action (p. 133 in the
2nd edition). (The sample code can be downloaded from
http://www.manning.com/hatcher3/ albeit in Java form).
Basically, I have a something like:
class SynonymFilter : TokenFilter {
public override bool Incr
writer, then I wouldn't need to pay this penalty.
It's not a huge deal since I can just run a warm up query, but I figured if I
can do it in a few lines of code, then I might as well.
Thanks,
-Ben
--- On Fri, 6/25/10, Digy wrote:
> From: Digy
> Subject: RE: IndexWriter Quest
I think, I don't undestand your question.
- IndexSearcher doesn't have a method like "ReOpen"
- IndexWriter/IndexModifier doesn't have a method like "Dispose"
Why don't you use your IndexReader per server like this:
if(!indexReader.IsC
.)
--- On Fri, 6/25/10, Digy wrote:
> From: Digy
> Subject: RE: IndexWriter Question
> To: [email protected]
> Date: Friday, June 25, 2010, 2:05 PM
> Have you tried NRT search?
>
>
>
> Use a singleton IndexWriter for all your adds/deletes, and
> cre
[email protected]]
Sent: Friday, June 25, 2010 9:42 PM
To: [email protected]
Subject: RE: IndexWriter Question
Sorry, I meant to say I'm using IndexWriter. The subject line was correct,
not the body :)
--- On Fri, 6/25/10, Digy wrote:
> From: Digy
>
Sorry, I meant to say I'm using IndexWriter. The subject line was correct, not
the body :)
--- On Fri, 6/25/10, Digy wrote:
> From: Digy
> Subject: RE: IndexWriter Question
> To: [email protected]
> Date: Friday, June 25, 2010, 1:37 PM
> Why do you use
Why do you use IndexModifier? It is deprecated and has a terrible
performance.
DIGY
-Original Message-
From: Ben West [mailto:[email protected]]
Sent: Friday, June 25, 2010 7:08 PM
To: [email protected]
Subject: IndexWriter Question
Hey all,
I have an
Hey all,
I have an IndexModifier and an IndexSearcher. I have something like the
following:
// Do IndexModifier stuff
searcher.ReOpen(modifier.Reader);
modifier.Dispose();
searcher.GetReader().IsCurrent();
The last line fails with a null reference exception
at Lucene.Net.Index.IndexWriter.Nr
Maybe my question wasn't clear enough. I know that I should have more than
one indexed doc (we have millions of db records indexed). What I want to get
when the following query is executed :
title:X OR keyword:X OR category: X
on the documents:
title= X y z; keyword= X z; category
ng extra.
DIGY
-Original Message-
From: Nenad Maricic [mailto:[email protected]]
Sent: Wednesday, April 28, 2010 7:43 PM
To: [email protected]
Subject: New user: multi fields query question
Hi,
Hope there is solution for this:
We have an index with following fields in the
Hi,
Hope there is solution for this:
We have an index with following fields in the document: title, keyword, and
category.
We are using our, custom similarity class, with all factors set to 1.0 (tf,
idf, lengthNorm) except coord. Also, we have boosted "keyword" field during
indexing.
We are
Subject: RE: Query question
Luis,
As you mentioned previously rather than add spacing tokens such as 'xx' between
the terms, you can use a custom analyzer to put a large gap in the position
increment between the items you wish to keep together.
In this way you would have:
Pos
Whoops - I misspoke - it's the PositionIncrementAttribute, not the
OffsetAttribute that you would use in 2.9.
Michael
-Original Message-
From: Michael Garski
Sent: Monday, March 15, 2010 9:09 AM
To: [email protected]
Subject: RE: Query question
Luis,
As you ment
s the approach Solr takes with what is called 'multi-valued fields'.
Michael
-Original Message-
From: Luis Fco Ramirez Daza Glez [mailto:[email protected]]
Sent: Monday, March 15, 2010 7:52 AM
To: [email protected]
Subject: RE: Query question
Hi Art
Th
lyzer and only use your
suggestion as my last resort.
Best regards
Luis
> -Original Message-
> From: Artem Chereisky [mailto:[email protected]]
> Sent: Sunday, March 14, 2010 11:02 PM
> To: [email protected]
> Subject: Re: Query question
>
> Lui
gt; > From: Artem Chereisky [mailto:[email protected]]
> > Sent: Sunday, March 14, 2010 10:13 PM
> > To: [email protected]
> > Subject: Re: Query question
> >
> > Luis,
> >
> > Have you considered PhraseQuery or SpanQuery? Both of them
mple.
Regards,
Luis
> -Original Message-
> From: Artem Chereisky [mailto:[email protected]]
> Sent: Sunday, March 14, 2010 10:13 PM
> To: [email protected]
> Subject: Re: Query question
>
> Luis,
>
> Have you considered PhraseQuery or SpanQuery? Bot
Luis,
Have you considered PhraseQuery or SpanQuery? Both of them would satisfy
your requirement of finding "John Lennon" but not "Paul Lennon".
Answering your last question about fields with the same name, they are not
really different fields. Consider this:
Adding thre
Hi all
Hope somebody can help me with this.
I have an index with several fields that repeat in a document.
Sample doc:
Date- 2010-01-01
ID- ASDF
Name- John Lennon
Name- Ringo Star
Name- Paul McCartney
Name- George Harrison
I want that the search return only the d
@lucene.apache.org
Subject: indexing design pattern question
Hi,
I'm looking for "best practices" advise on index building
I have two types of documents I need to index, let's say type A and B.
I have 2 million documents of type A and 10,000 of type B
I can see 3 options when it comes
Hi,
I'm looking for "best practices" advise on index building
I have two types of documents I need to index, let's say type A and B.
I have 2 million documents of type A and 10,000 of type B
I can see 3 options when it comes to building my index:
Option 1.
Add both document types to one index, w
ditionally reviewing and stepping through the NUnit
tests can help give you a good understanding of how to use Lucene.Net.
Michael
-Original Message-
From: M. Kaufmann [mailto:[email protected]]
Sent: Fri 1/15/2010 3:46 AM
To: [email protected]
Subject: Question
Hello,
I&
Hello,
I'm planning to realize a search engine (including indexer) with Lucene.NET
under VB.NET.
I'm currently using the Version 1.9.0.6.
To buy the Machine on which the lucene project should run I would need some
details:
- Is multi-core supported in Lucene.DLL 1.9.0.6? (currently I only saw si
48 matches
Mail list logo