Remove document fails

2005-03-01 Thread Alex Kiselevski

Hi,
I have a problem doing IndexReader.delete(int doc)
and it fails on lock error.



Alex Kiselevski

+9.729.776.4346 (desk)
+9.729.776.1504 (fax)

AMDOCS  INTEGRATED CUSTOMER MANAGEMENT




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

simultaneous index/search/delete

2005-01-05 Thread Alex Kiselevski

Concerning the question about simultaneous index/search/delete :
Do i have to put synchronized on methods that call  to API functions of
index/search/delete


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

Correct query

2004-12-27 Thread Alex Kiselevski

Hello,
I indexed some document that included a word RPG/4.
So, when I made a search - I builded a query

Text:RPG but it didn't find a thing only Text:RPG/4 gave me the correct
result.
Tell me please what have I do to build a a dynamic (not hardcoded like
in this example )query to get right results

Thanks in advance

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

RE: Correct query

2004-12-27 Thread Alex Kiselevski

Thanks Erik,
I use StandardAnalyze to index RPG/4.
I use StandardAnalyzer and IndexSearcher with TermQuery without
QueryParser. So, I thought that as a result of query
Text:RPG I still have to get some hit, but it didn't happen.

-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, December 27, 2004 11:51 AM
To: Lucene Users List
Subject: Re: Correct query



On Dec 27, 2004, at 3:21 AM, Alex Kiselevski wrote:
 Hello,
 I indexed some document that included a word RPG/4.
 So, when I made a search - I builded a query

 Text:RPG but it didn't find a thing only Text:RPG/4 gave me the
 correct result. Tell me please what have I do to build a a dynamic
 (not hardcoded like in this example )query to get right results

What Analyzer did you use?   Are you using QueryParser and using the
same analyzer with it?  Please read the AnalysisParalysis page on the
wiki.  Also, running the AnalyzerDemo from Lucene in Action's source
code yields this, which should help illuminate the situation:

$ ant -emacs AnalyzerDemo
Buildfile: build.xml

AnalyzerDemo:

   Demonstrates analysis of sample text.

   Refer to the Analysis chapter for much more on this
   extremely crucial topic.

Press return to continue...

String to analyze: [This string will be analyzed.]
RPG/4
Running lia.analysis.AnalyzerDemo...
Analyzing RPG/4
   WhitespaceAnalyzer:
 [RPG/4]

   SimpleAnalyzer:
 [rpg]

   StopAnalyzer:
 [rpg]

   StandardAnalyzer:
 [rpg/4]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Queries difference

2004-12-20 Thread Alex Kiselevski

Hello, I want to know is there a difference between queries:

+city(+London Amsterdam) +address(1_street 2_street)

And

+city(+London) +city(Amsterdam) +address(1_street)  +address(2_street)

Thanks in advance

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

RE: Queries difference

2004-12-20 Thread Alex Kiselevski

Thanks Morus
So if I understand right
If the seqond query is :
+city(London) +city(Amsterdam) +address(1_street)  +address(2_street)

Both queries have the same value ?
-Original Message-
From: Morus Walter [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 6:11 PM
To: Lucene Users List
Subject: Re: Queries difference


Alex Kiselevski writes:

 Hello, I want to know is there a difference between queries:

 +city(+London Amsterdam) +address(1_street 2_street)

 And

 +city(+London) +city(Amsterdam) +address(1_street)  +address(2_street)

I guess you mean city:(... and so on.

The first query searches documents containing 'London' in city, scoring
results also containing Amsterdam higher, and containing 1_street or
2_street in address. The second query searches for documents containing
both London and Amsterdam in city and 1_street and 2_street in address.
Note the the + before London in the second query doesn't mean anything.

HTH
Morus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help to remove document

2004-12-08 Thread Alex Kiselevski

Hello,
Help me pls, I want to know how to remove document from index

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

Hebrew support

2004-09-28 Thread Alex Kiselevski

Hello,
Do you know something about hebrew support in Lucene
Thanks in advance

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

RE: pdf in Chinese

2004-09-08 Thread Alex Kiselevski

Hi,
Can you pls,advice me any solution for hebrew analyzer

-Original Message-
From: Chandan Tamrakar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 11:15 AM
To: Lucene Users List
Subject: Re: pdf in Chinese


which analyzer you are using to index chinese pdf documents ?
I think you should use cjkanalyzer
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 11:27 AM
Subject: pdf in Chinese


 Hi all,
 i use pdfbox to parse pdf file to lucene document.when i parse
Chinese
 pdf file,pdfbox is not always success.
 Is anyone have some advice?


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Range query problem

2004-08-26 Thread Alex Kiselevski

Hello,
I have a strange problem with range query PERIOD:[1 TO 9]
It works only if the second parameter is equals or less than 9
If it's greater than 9 , it finds no documents

Thanks in advance

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

RE: Range query problem

2004-08-26 Thread Alex Kiselevski

Thanks, I'll try it

-Original Message-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 12:59 PM
To: Lucene Users List
Subject: Re: Range query problem


On Thursday 26 August 2004 11:02, Alex Kiselevski wrote:

 I have a strange problem with range query PERIOD:[1 TO 9] It works
 only if the second parameter is equals or less than 9 If it's greater
 than 9 , it finds no documents

You have to store your numbers so that they will appear in the right
order
when sorted lexicographically, e.g. save 1 as 01 if you save numbers up
to
99, or as 0001 if you save numbers up to . You also have to use this

format for searching I think.

Regards
 Daniel

--
http://www.danielnaber.de

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



what is wrong with query

2004-08-25 Thread Alex Kiselevski

Hi, pls,
Tell me what is wrong with query:
author:( +name AND full name~) AND book:( +university)


Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

RE: what is wrong with query

2004-08-25 Thread Alex Kiselevski

I use QueryParser
And I got an exception :
org.apache.lucene.queryParser.ParseException: Encountered ~ at line 1,
column 44.
Was expecting one of:
AND ...
OR ...
NOT ...
+ ...
- ...
( ...
) ...
^ ...
QUOTED ...
TERM ...
SLOP ...
PREFIXTERM ...
WILDTERM ...
[ ...
{ ...
NUMBER ...

at
org.apache.lucene.queryParser.QueryParser.generateParseException(QueryPa
rser.java:1045
at
org.apache.lucene.queryParser.QueryParser.jj_consume_token(QueryParser.j
ava:925)
at
org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:562)
at
org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:500)
at
org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:108)
at
com.stp.corr.cv.search.CVSearcher.getMatchedResults(CVSearcher.java:89)
at com.stp.test.CVTest.main(CVTest.java:223)

-Original Message-
From: Stephane James Vaucher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 10:07 AM
To: Lucene Users List
Subject: Re: what is wrong with query


You'll have to give us more information than that...

What is the problem you are seeing? I'll assume that you get no results.

Tell us of the structure of your documents and how you index every
field.

Concerning your syntax, if you are using the distributed query parser,
you don't need the + before name, nor the + before university as they
will be added by the parser.

sv

On Wed, 25 Aug 2004, Alex Kiselevski wrote:


 Hi, pls,
 Tell me what is wrong with query:
 author:( +name AND full name~) AND book:( +university)


 Alex Kiselevsky
  Speech TechnologyTel:972-9-776-43-46
 RD, Amdocs - Israel  Mobile: 972-53-63 50 38
 mailto:[EMAIL PROTECTED]




 The information contained in this message is proprietary of Amdocs,
 protected from disclosure, and may be privileged. The information is
 intended to be conveyed only to the designated recipient(s) of the
 message. If the reader of this message is not the intended recipient,
 you are hereby notified that any dissemination, use, distribution or
 copying of this communication is strictly prohibited and may be
 unlawful. If you have received this communication in error, please
 notify us immediately by replying to the message and deleting it from
 your computer. Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Hebrew Analyzer

2004-08-25 Thread Alex Kiselevski

Hi, anybody heard about Hebrew Analyzer ?

Alex Kiselevsky
 Speech Technology  Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]




The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.