Sub fields \ documents (last question for today, I promise :)

2012-08-07 Thread Omri Suissa
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

Re: Newbie question (lucene.net version number)

2012-08-07 Thread Omri Suissa
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, >

Re: Newbie question (lucene.net version number)

2012-08-07 Thread Itamar Syn-Hershko
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

RE: Question on basic functionality

2012-05-15 Thread shane . bumpurs
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,

RE: Question on basic functionality

2012-05-14 Thread shane . bumpurs
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

RE: Question on basic functionality

2012-05-14 Thread Simon Svensson
[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

Question on basic functionality

2012-05-14 Thread shane . bumpurs
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

Re: [Lucene.Net] Simple Question: boolean operator shortcut

2011-07-25 Thread Gustavo Poll
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

RE: [Lucene.Net] Simple Question: boolean operator shortcut

2011-07-25 Thread Digy
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

RE: [Lucene.Net] Simple Question: boolean operator shortcut

2011-07-25 Thread Franklin Simmons
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

[Lucene.Net] Simple Question: boolean operator shortcut

2011-07-25 Thread Gustavo Poll
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

RE: [Lucene.Net] Analyzer Question for Lucene.Net

2011-06-16 Thread Franklin Simmons
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

RE: [Lucene.Net] Analyzer Question for Lucene.Net

2011-06-16 Thread Digy
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

RE: [Lucene.Net] Analyzer Question for Lucene.Net

2011-06-16 Thread Prescott Nasser
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

Re: [Lucene.Net] Analyzer Question for Lucene.Net

2011-06-16 Thread Trevor Watson
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

[Lucene.Net] Analyzer Question for Lucene.Net

2011-06-16 Thread Trevor Watson
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

RE: Question

2011-02-02 Thread Igor Chirokov
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,

RE: Question

2011-02-02 Thread René de Vries
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

Re: Question

2011-02-02 Thread Kevin Miller
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

RE: Question

2011-02-01 Thread Prescott Nasser
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

Re: Question

2011-02-01 Thread Aaron Powell
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:

RE: Question

2011-02-01 Thread Lucas E Wall
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

Re: Question

2011-02-01 Thread Aaron Powell
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

Question

2011-02-01 Thread Lucas E Wall
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

RE: Term position offset question

2010-12-14 Thread Granroth, Neal V.
.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

Term position offset question

2010-12-13 Thread Ben West
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

RE: IndexWriter Question

2010-06-28 Thread Ben West
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

RE: IndexWriter Question

2010-06-25 Thread Digy
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

RE: IndexWriter Question

2010-06-25 Thread Ben West
.) --- 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

RE: IndexWriter Question

2010-06-25 Thread Digy
[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 >

RE: IndexWriter Question

2010-06-25 Thread Ben West
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

RE: IndexWriter Question

2010-06-25 Thread Digy
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

IndexWriter Question

2010-06-25 Thread Ben West
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

RE: New user: multi fields query question

2010-04-28 Thread Nenad Maričić
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

RE: New user: multi fields query question

2010-04-28 Thread Digy
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

New user: multi fields query question

2010-04-28 Thread Nenad Maricic
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

RE: Query question

2010-03-15 Thread Digy
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

RE: Query question

2010-03-15 Thread Michael Garski
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

RE: Query question

2010-03-15 Thread Michael Garski
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

RE: Query question

2010-03-15 Thread Luis Fco Ramirez Daza Glez
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

Re: Query question

2010-03-14 Thread Artem Chereisky
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

RE: Query question

2010-03-14 Thread Luis Fco Ramirez Daza Glez
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

Re: Query question

2010-03-14 Thread Artem Chereisky
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

Query question

2010-03-14 Thread Luis Fco Ramirez Daza Glez
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

RE: indexing design pattern question

2010-03-11 Thread Michael Garski
@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

indexing design pattern question

2010-03-11 Thread Artem Chereisky
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

RE: Question

2010-01-16 Thread Michael Garski
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&

Question

2010-01-16 Thread M. Kaufmann
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