Index Structure

2009-02-19 Thread Seid Mohammed
I am new to lucene, and reading lucene in action book sometimes, i better understand when somone tell me an answer than a book. my queston is when indexing, what actually lucene is doing? if i have a file called test.txt with contents " lucen is used to index files" and i apply lucene indexing, wh

lucene index details

2009-02-19 Thread Seid Mohammed
I am new to lucene, and reading lucene in action book sometimes, i better understand when somone tell me an answer than a book. my queston is when indexing, what actually lucene is doing? if i have a file called test.txt with contents " lucen is used to index files" and i apply lucene indexing, wh

Re: Index Structure

2009-02-19 Thread Seid Mohammed
se "Luke" which is a > Lucene index toolbox. > You can download it here : http://www.getopt.org/luke/ > There is a detailed description of this tool (with pretty screen-shots) in : > "Lucene in Action" book, section 8.2.2. > > Best > Nada > &g

searching a sentence or paragraph

2009-02-19 Thread Seid Mohammed
from lucen index, how can we search a sentence or a paragraph which satisfy our query? thanks a lot seid m -- "RABI ZIDNI ILMA" - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: j

Re: Index Structure

2009-02-19 Thread Seid Mohammed
I have trioed Amharic fonts, it displays square like character, may be there is a kind of setting for it? Seid M On 2/19/09, Koji Sekiguchi wrote: > Seid Mohammed wrote: >> great, >> I have got it >> do luke support unicode? I am trying lucene in non-english languaguage >

Re: searching a sentence or paragraph

2009-02-19 Thread Seid Mohammed
> > Best > Nada > > > -Original Message- > From: Seid Mohammed [mailto:seidy...@gmail.com] > Sent: Thu 2/19/2009 2:29 PM > To: java-user@lucene.apache.org > Subject: searching a sentence or paragraph > > from lucen index, how can we search a sentence

Indexer.Java problem

2009-02-19 Thread Seid Mohammed
I am using netbeans on windows to test lucene. I have added all the lib files from the /lib directory to my project library. down the end of Indexer.java program, it states the Field.Text method is not available the error message is as follows ---

Re: Indexer.Java problem

2009-02-19 Thread Seid Mohammed
; > Or install an older release of Lucene. > > Erick > > On Thu, Feb 19, 2009 at 10:41 AM, Seid Mohammed wrote: > >> I am using netbeans on windows to test lucene. >> I have added all the lib files from the /lib directory to my project >> library. >> dow

Re: Indexer.Java problem

2009-02-20 Thread Seid Mohammed
t tried to get the LIA examples >> working for years... >> >> The various release notes on the Wiki, especially the 1.9 and 2.0 >> release >> notes are probably the best place to start. >> >> Best >> Erick >> >> On Thu, Feb 19, 2009 at

Pylucene

2009-02-24 Thread Seid Mohammed
I like python's text scripting capability. for that I have read pylucene and some of the samples taken from lucene in action book works fine. my question is, I have language specific tools such as analyzer, toknizer done for Amharic Language in java-lucene. how can I use these tools just in pylucen

How to run Lucene in Action TestCase Examples

2009-02-26 Thread Seid Mohammed
I am using, Netbeans and want to run some of the Junit test examples from there I have added the Test programs to a test packages in the project window and try to run it but it fails to run. I have also included libs to the libraries thanks a lot Seid M. -- "RABI ZIDNI ILMA"

How to index Named Entities

2009-03-02 Thread Seid Mohammed
I want to index document conents in two ways, one just a simple content, and the other as named entity. the senario is like this. if i have this document "the source of Nile is Ethiopia" then I want to index "source" as a normal content, "Nile" as river name, and "Ethiopia" as Country name. so that

similarity function

2009-03-05 Thread Seid Mohammed
For my work, I have read an article stating that " Answer type can be automatically constructed by Indexing Different Questions and Answer types. Later, when an unseen question apears, answer type for this question will be found with the help of 'similarity function' computation" so I am clear wit

how to index keyword and value

2009-03-15 Thread Seid Mohammed
I want to Index Person_Name and associated phone number. Example: Abebe ===>+2519112332 later, When I search for Abebe, it should display +2519112332 any hint seid M -- "RABI ZIDNI ILMA" - To unsubscribe, e-mail: java-user-unsu

Re: how to index keyword and value

2009-03-15 Thread Seid Mohammed
sponding phone number from the search. > Cheers > Amin > > On Sun, Mar 15, 2009 at 10:56 AM, Seid Mohammed wrote: > >> I want to Index Person_Name and associated phone number. >> Example: Abebe ===>+2519112332 >> later, When I search for Abebe, it should display +251

Re: how to index keyword and value

2009-03-15 Thread Seid Mohammed
in Lucene. > > > Best > Erick > > On Sun, Mar 15, 2009 at 8:49 AM, Seid Mohammed wrote: > >> that is exactly my question >> how can I do that? >> >> thanks a lot >> Seid M >> >> On 3/15/09, Amin Mohammed-Coleman wrote: >> > Why do

Term level boosting

2009-03-24 Thread Seid Mohammed
Hi All I want my lucene to index documents and making some terms to have more boost value. so, if I index the document "The quick fox jumps over the lazy dog" and I want the term fox and dog to have greater boost value. How can I do that Thanks a lot seid M -- "RABI ZIDNI ILMA" ---

Re: Term level boosting

2009-03-24 Thread Seid Mohammed
ok, but I need to know how to proceed with it. I mean how to include to my application many thanks Seid M On 3/24/09, Koji Sekiguchi wrote: > Seid Mohammed wrote: >> Hi All >> I want my lucene to index documents and making some terms to have more >> boost value. >>

Re: What is the right query syntax for matching some field's substring?

2009-04-02 Thread Seid Mohammed
hi bonn, can you give me the link you did read for substring matching Thanks a lot On 4/2/09, Bon wrote: > > Hi Matt, > > Thanks for your answer, > I'm new to lucene, so I don't know what should I know about that. > I find a reference about discuss searching substring and it work goo

Rexex Search

2009-04-13 Thread Seid Mohammed
I want to include Regular Expresion based searching to my lucene appplication Anyone who can help? thanks a lot Seid M. -- "RABI ZIDNI ILMA" - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional comm

Re: Rexex Search

2009-04-13 Thread Seid Mohammed
Thanks Erik it helps Seid M. On Mon, Apr 13, 2009 at 1:46 PM, Erik Hatcher wrote: > > On Apr 13, 2009, at 5:41 AM, Seid Mohammed wrote: > > I want to include Regular Expresion based searching to my lucene >> appplication >> Anyone who can help? >> > > There

Lucene Java doc.

2009-04-14 Thread Seid Mohammed
Sorry for my little java knowledge and disturbing you. how can I attach the java doc of lucene in my eclipse application. it gives a message = org.apache.lucene.search.TopDocs Note: This element neither has attached source nor attached Javadoc and hence no Ja

Re: Lucene Java doc.

2009-04-14 Thread Seid Mohammed
thanks simon seid M On 4/14/09, Simon Willnauer wrote: > Quite off-topic but anyway: > > 1. Right click on the JAR (must be in build path) > 2. Click on Properties > 3. Click on JavaDoc Location > 4. Add the location > > > simon > > On Tue, Apr 14, 2009

Re: Lucene Java doc.

2009-04-14 Thread Seid Mohammed
. On 4/14/09, Seid Mohammed wrote: > thanks simon > > seid M > > On 4/14/09, Simon Willnauer wrote: >> Quite off-topic but anyway: >> >> 1. Right click on the JAR (must be in build path) >> 2. Click on Properties >> 3. Click on JavaDoc Location >&

not the length that matters, but the content

2009-05-02 Thread Seid Mohammed
I want documents which have more number of query term matches to be returned, not the one with less number of terms to matter. that is, if I submit the query " the quickbrown fox" have two documents doc1: brown fox doc2: the quick brown fox jumps over the lazzy dog. I want the search result be doc2

Re: not the length that matters, but the content

2009-05-02 Thread Seid Mohammed
thanks it solves On 5/2/09, Kamal Najib wrote: > I think one way to realize it is to run a phrase query.In your example for > example: > if you run phrasequery with " the quick brown fox" you will only have > maches like "*"+"the quickbrown fox"+"*",the * is any other string. that's > mean a doc

why setPhraseSlop() make no diffrence

2009-05-03 Thread Seid Mohammed
I have ste the slop for my search to be some terms away for inclusion. unfortunately, the result is the same indpendent of my setPhraseSlop(int) usage. code excerpts: == QueryParser qp = new QueryParser("content", new AmharicAnalyzer()); qp.setPhraseSlop(3);

why setPhraseSlop() not helping

2009-05-07 Thread Seid Mohammed
I have set the slop for my search to be some terms away for inclusion. unfortunately, the result is the same indpendent of my setPhraseSlop(int) usage. code excerpts: == QueryParser qp = new QueryParser("content", new AmharicAnalyzer()); qp.setPhraseSlop(3);

Re: why setPhraseSlop() not helping

2009-05-08 Thread Seid Mohammed
Thanks Erick it solves On Thu, May 7, 2009 at 8:13 PM, Erick Erickson wrote: > You haven't forced the double quotes through to the parser. Try > Query query = qp.parse("\"word1 word2\""); > > On Thu, May 7, 2009 at 11:14 AM, Seid Mohammed wrote: > >>

Re: RegexQuery Incomplete Results

2009-05-12 Thread Seid Mohammed
I need it similar functionality, but while running the above code it breaks after outputing the following Added Knowing yourself Added Old clinic Added INSIDE Added Not INSIDE Default regexcapabilities=org.apache.lucene.sear

Re: RegexQuery Incomplete Results

2009-05-12 Thread Seid Mohammed
Thanks it works On 5/12/09, Mark Miller wrote: > Use JavaUtilRegexCapabilities or put the Jakarata RegEx jar on your > classpath: http://jakarta.apache.org/regexp/index.html > > -- > - Mark > > http://www.lucidimagination.com > > > > Seid Mohammed wrote: >&g

Re: Help with phrase indexing

2009-05-14 Thread Seid Mohammed
I need this exactly solution. Can you please tell me how could I DO IT? I am badly in nead of it On 5/14/09, Anshum wrote: > If I'm interpreting your need correctly, you want to index untokenized > strings, is it? Even if you aren't looking for untokenized indexing, you > could always use/design