[jira] Resolved: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=all ] Yonik Seeley resolved LUCENE-463: - Resolution: Invalid Assign To: Yonik Seeley Closing. You can reopen if string sorting doesn't solve the problem for you. > Sorting does not work co

Re: [jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Cheolgoo Kang
Thanks Yonik for your kind explanation. On 11/26/05, Yonik Seeley (JIRA) <[EMAIL PROTECTED]> wrote: > [ > http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358524 > ] > > Yonik Seeley commented on LUCENE-463: > - > > Yep, I verified th

[jira] Updated: (LUCENE-473) Fix to let Searcher.close() and other methods accessible from c++ code

2005-11-25 Thread Michele Bini (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-473?page=all ] Michele Bini updated LUCENE-473: Attachment: gcj-interface-virtual-class.diff The patch > Fix to let Searcher.close() and other methods accessible from c++ code > -

[jira] Created: (LUCENE-473) Fix to let Searcher.close() and other methods accessible from c++ code

2005-11-25 Thread Michele Bini (JIRA)
Fix to let Searcher.close() and other methods accessible from c++ code -- Key: LUCENE-473 URL: http://issues.apache.org/jira/browse/LUCENE-473 Project: Lucene - Java Type: Bug Components: Search

[jira] Updated: (LUCENE-472) Some fixes to let gcj 3.4.2 build lucene using ant gcj target

2005-11-25 Thread Michele Bini (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-472?page=all ] Michele Bini updated LUCENE-472: Attachment: gcj-build.diff Fixes to the gcj ant target > Some fixes to let gcj 3.4.2 build lucene using ant gcj target > --

[jira] Created: (LUCENE-472) Some fixes to let gcj 3.4.2 build lucene using ant gcj target

2005-11-25 Thread Michele Bini (JIRA)
Some fixes to let gcj 3.4.2 build lucene using ant gcj target - Key: LUCENE-472 URL: http://issues.apache.org/jira/browse/LUCENE-472 Project: Lucene - Java Type: Bug Versions: CVS Nightly - Specify date

[jira] Updated: (LUCENE-471) gcj ant target doesn't work on windows

2005-11-25 Thread Michele Bini (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-471?page=all ] Michele Bini updated LUCENE-471: Attachment: win-makefile.diff Makefile changes to let the gcj ant target work on windows > gcj ant target doesn't work on windows > ---

[jira] Updated: (LUCENE-471) gcj ant target doesn't work on windows

2005-11-25 Thread Michele Bini (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-471?page=all ] Michele Bini updated LUCENE-471: Attachment: win-mmap.diff Window implementation of to GCJIndexInput.cc memory mapped i/o > gcj ant target doesn't work on windows > --

[jira] Created: (LUCENE-471) gcj ant target doesn't work on windows

2005-11-25 Thread Michele Bini (JIRA)
gcj ant target doesn't work on windows -- Key: LUCENE-471 URL: http://issues.apache.org/jira/browse/LUCENE-471 Project: Lucene - Java Type: Bug Components: Other Versions: CVS Nightly - Specify date in submission Envir

[jira] Updated: (LUCENE-469) (Parallel-)MultiSearcher: using Sort object changes the scores

2005-11-25 Thread Luc Vanlerberghe (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-469?page=all ] Luc Vanlerberghe updated LUCENE-469: Attachment: MultiSearcherSort.patch Here's the updated patch (at last) - the redundant changes to FieldDocSortedHitQueue are reverted. - maxScore i

Re: Capitalized Method Names?

2005-11-25 Thread Brian Goetz
> Inherited from JavaCC's CharStream. > > On 11/25/05, Robert Engels <[EMAIL PROTECTED]> wrote: > > I noticed that there a few Capitalized method names in the FastCharStream? > > > > Is there a reason for this? It is not according to Java standards. There are a lot of seriously nonstandard conven

[jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358524 ] Yonik Seeley commented on LUCENE-463: - Yep, I verified that AUTO sorting is your problem. In FieldCacheImpl for an AUTO type, first Integer.parseInt() is tried, and if tha

[jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358522 ] Yonik Seeley commented on LUCENE-463: - > sorting = new Sort(sortingField, sorder); Ahhh, that could be the problem. You aren't specifying what type to treat the field as

Re: Capitalized Method Names?

2005-11-25 Thread Yonik Seeley
Inherited from JavaCC's CharStream. On 11/25/05, Robert Engels <[EMAIL PROTECTED]> wrote: > I noticed that there a few Capitalized method names in the FastCharStream? > > Is there a reason for this? It is not according to Java standards. -Yonik Now hiring -- http://forms.cnet.com/slink?231706 -

Capitalized Method Names?

2005-11-25 Thread Robert Engels
I noticed that there a few Capitalized method names in the FastCharStream? Is there a reason for this? It is not according to Java standards.

Re: How build something like smart tags

2005-11-25 Thread mark harwood
See IBM's UIMA project or "Gate" for Entity extraction tools. Cheers Mark ps this is a java-user question, not a java-dev topic. --- "Mario Alejandro M." <[EMAIL PROTECTED]> wrote: > I'm building a search engine couple with database > info... I wanna to detect > things like phone-numbers, adr

[jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Etienne (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358519 ] Etienne commented on LUCENE-463: Hi, the way I do the sort is something like this : String sortingField = "date"; boolean sorder = (vo.getSorder().equals(LuceneConstants.ASC

How build something like smart tags

2005-11-25 Thread Mario Alejandro M.
I'm building a search engine couple with database info... I wanna to detect things like phone-numbers, adress, money values, etc... This things are easy with regex... but exist things like persons names and places that I not can see how detect... for example, below in the mail is my name, a web a

Re: Bug or Stupid: deleting (some) query results while iterating over query results

2005-11-25 Thread carlo walentiny
Just to confirm: Luc's suggestion to use two readers (one for the query, one for the deletes), works: IndexReader r = IndexReader.open(iD); IndexSearcher s = new IndexSearcher(iD); --> instead of new IndexSearcher(r) -carlo

Re: Bug or Stupid: deleting (some) query results while iterating over query results

2005-11-25 Thread carlo walentiny
>However, since you have modified the underlying reader, the second and >subsequent searches will not return the same first 100 results. I assumed that documents _marked_ as deleted were returned as query results (but didn't validate this). I suppose you're right, in which case my code-logic is no

RE: Bug or Stupid: deleting (some) query results while iterating over query results

2005-11-25 Thread Vanlerberghe, Luc
Wild guess: Under the hood, Hits gets the first 100 results when it is constructed. If you get result number 101, the search is executed again and 200 results buffered (this doubles each time). However, since you have modified the underlying reader, the second and subsequent searches will not retur

Bug or Stupid: deleting (some) query results while iterating over query results

2005-11-25 Thread carlo walentiny
The below test case does a query and, while iterating over the query results, deletes some of the hits. This works for some values "number of query results" and "number of deleted docs", but reliably fails for some other settings, for example those in the testcase below. I've verified it (to fail

[jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Yonik Seeley (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358511 ] Yonik Seeley commented on LUCENE-463: - Etienne, how are you specifying the sort? A string sort should work for this. Cheolgoo, string sorting with no locale is faster tha

[jira] Commented: (LUCENE-463) Sorting does not work correcly on "String Date"

2005-11-25 Thread Etienne (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358509 ] Etienne commented on LUCENE-463: Thanks for resolving it. I didn't get your first note asking me to send you the Junit test. Sorry, if I didn't respond. I still can build the

Re: Test code for regex queries

2005-11-25 Thread Erik Hatcher
On 24 Nov 2005, at 20:26, Erik Hatcher wrote: There are some older regex implementations in java, but I have no idea about the licences and the availabiility. Doesn't apache have one somewhere? Two actually! ORO and Regexp. Here's ORO - jakarta.apache.org/oro/> (link to Regexp from there)