http AND halt

2004-08-16 Thread Leos Literak
One user reported, that if he searches http AND halt, the search fails. This can be found in logs: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.Vector.elementAt(Vector.java:434) at org.apache.lucene.queryParser.QueryParser.addClause(QueryParser.java:181) at org.apache.lucene.queryParse

Re: boost keywords

2004-08-15 Thread Leos Literak
Thanks Stephen and Tate, I will try this scenerio. - As Tate suggests, you can also use multiple fields and apply your search on all of them: hello world foo bar content-> hello world foo bar headers-> hello world The result of this is that you can fine-grained control over different fields. At t

Re: boost keywords

2004-08-13 Thread Leos Literak
Gerard Sychay napsal(a): Well, there is always the Lucene wiki. There's not a patterns page per se, but you could start one.. of course I could. If I had something to add :-) but back to my issue. no reaction? So much people using Lucene and no one knows? I would be gratefull for any advice. Thanks

Re: boost keywords

2004-08-12 Thread Leos Literak
Don Vaillancourt napsal(a): It seems like you know very little about Lucene. Is this the case or do you have a more specific problem that should be looked at. Well, I dont consider myself as lucene newbie. ;-) I am just confused with boosting feature and how to use it. Usually when I index some a

boost keywords

2004-08-11 Thread Leos Literak
Hi, I use lucene at my webzine to index articles and other materials. I want to add new feature to articles - keywords (author of the article will specify them). Then I'd like to configure lucene to use these keywords in search. But how to achieve that? I have no clue ... Thanks for hints Leos (It

Re: potential synchronization problem

2004-04-30 Thread Leos Literak
Otis Gospodnetic wrote: Yes. I suggest you devise a 'index request queue' mechanism to handle situations like this. This can probably be made quite generic (i.e. not Lucene and not indexing specific). How you go about implementing this is up to. I handle this with script, which 1\ generates new i

Re: How to include strange characters??

2002-10-07 Thread Leos Literak
at all. Are you sure, that your XML contains character set information? e.g. Leos -- Leos Literak http://AbcLinuxu.cz - tady je tucnakum hej! -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: czech support

2002-09-06 Thread Leos Literak
EMAIL PROTECTED]> wrote: > >>Hello >> >>You need to write your own analyzer/filter which can handle czech >>grammar. >>I face up with the same problem in Hungarian. Not as easy as English >>- lots of work. >> >>Best regards, >> >>czi

czech support

2002-09-05 Thread Leos Literak
so my question is: what kind of interfaces/classes shall I implement/overwrite? i have no idea of relations between classes in Lucene and their purpose. so it would take me lot of time to find that. thank you for your ideas! Leos -- Leos Literak http://AbcLinuxu.cz - tady je tucnakum