Spanish and Italian Analyzer

2005-11-30 Thread Combs, Craig
I have written a Spanish and Italian Analyzer that I would like to submit to
the Lucene project.  What is the process for doing this?

 

Regards,

Craig Combs




The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 



Re: Spanish and Italian Analyzer

2005-11-30 Thread Erik Hatcher

Craig,

These would be welcome additions to the contrib/analyzers area.  To  
contribute them, they need to be licensed as Apache Software License  
2.  Prepare your analyzers to fit into the code base under contrib/ 
analyzers, with unit tests being highly recommended too.  Once you  
have that code in the proper packages following the conventions in  
contrib/analyzers, zip them up and attach them to a new JIRA issue.


Thanks!

Erik


On 30 Nov 2005, at 08:14, Combs, Craig wrote:

I have written a Spanish and Italian Analyzer that I would like to  
submit to

the Lucene project.  What is the process for doing this?



Regards,

Craig Combs




The contents of this e-mail are intended for the named addressee  
only. It
contains information that may be confidential. Unless you are the  
named
addressee or an authorized designee, you may not copy or use it, or  
disclose
it to anyone else. If you received it in error please notify us  
immediately

and then destroy it.




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



open source YourKit licence

2005-11-30 Thread Yonik Seeley
Does anyone have experience with YourKit & the open source license?
I was just asking for a license for myself (see email below), and the
web page actually says that the logo is optional (and many other
apache projects http://www.yourkit.com/customers/index.jsp seemingly
exclude it.)

Still, they are providing something for free, and they probably
deserve a bump... maybe something like the credits here:
http://db.apache.org/ojb/

So,
a) do any other committers want a license, and
b) would we be willing to put their logo somewhere in exchange?

-Yonik

-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Nov 30, 2005 6:56 AM
Subject: Re: open source YourKit licence
To: Yonik Seeley <[EMAIL PROTECTED]>


Hello Yonik,

thank you for your interest in our product.

We are ready to provide free of charge licenses for "Apache Lucene" project.
Please send me the list of developers (names and surnames) which need licenses.

In return we require to place a link (with logo; find logo attached) to YourKit
at http://lucene.apache.org

Should you have any questions or suggestions please do not hesitate to
contact us.


Best regards,
 --Yonik
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"

Tuesday, November 29, 2005, 6:09:25 PM, you wrote:

> Hi,

> I'd like to get a free open-source license for YourKit 5, for my work
> on Apache Lucene (I'm a committer).
> http://lucene.apache.org/java/docs/whoweare.html

> I use both Linux (x86 & x86_64) and Windows, if it matters.

> Thanks,
> Yonik Seeley

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

Re: open source YourKit licence

2005-11-30 Thread mark harwood
> a) do any other committers want a license, and

I'd appreciate a license.

> b) would we be willing to put their logo somewhere
> in exchange?

That seems a fair exchange provided that we 1) find
the product useful and 2) that it doesn't contravene
any apache directives about use of their
infrastructure (it can be seen as  ad placement)






___ 
WIN ONE OF THREE YAHOO! VESPAS - Enter now! - 
http://uk.cars.yahoo.com/features/competitions/vespa.html

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



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

2005-11-30 Thread Etienne (JIRA)
[ 
http://issues.apache.org/jira/browse/LUCENE-463?page=comments#action_12358929 ] 

Etienne commented on LUCENE-463:


Hi, 
Thanks all, 

I think everything works well now. This way to make a sort is not mention in 
the Lucene In Action book. Maybe it should be a bit more detailled there.

public Sort createSorting(ILuceneFilterParameterVO vo){
String fieldToSort = vo.getSort();
Sort sorting = null;

if(fieldToSort!=null&&!fieldToSort.equals(LuceneConstants.NOSORT)){
// descending is the default setting for our 
requierements.
boolean reverse = 
(vo.getSorder().equals(LuceneConstants.ASCENDING))?false:true;
SortField sortField = new SortField(fieldToSort, 
SortField.STRING, reverse);
sorting = new Sort(sortField);
}
return sorting;
}

Thanks all.

Etienne.


> Sorting does not work correcly on "String Date"
> ---
>
>  Key: LUCENE-463
>  URL: http://issues.apache.org/jira/browse/LUCENE-463
>  Project: Lucene - Java
> Type: Bug
>  Environment: Java Windows XP, JRE 1.3.1
> Reporter: Etienne
> Assignee: Yonik Seeley
> Priority: Minor

>
> I am doing a simple query with a sort on a date field already put on a string 
> format (mmDDHHMMSS). I am presenting 10 results per pages. The results I 
> have is not correctly sort. On a page "4 october" is before "5 october", on 
> another page I got the same kind of error.
> These are logs of the sorting I get:
> 20051006102501 DATE: 06 oct. 2005
> 20051004130501 DATE: 04 oct. 2005 <-- PROBLEM!
> 20051005120200 DATE: 05 oct. 2005
> 20050928094805 DATE: 28 sept. 2005
> 20050928114901 DATE: 28 sept. 2005
> 20050928114901 DATE: 28 sept. 2005
> 20050928101901 DATE: 28 sept. 2005
> 20050928142601 DATE: 28 sept. 2005
> 20050928142601 DATE: 28 sept. 2005
> 20050929094100 DATE: 29 sept. 2005 <-- PROBLEM!
> 20050928132931 DATE: 28 sept. 2005
> 20050929090002 DATE: 29 sept. 2005 <-- PROBLEM!
> 20050927203403 DATE: 27 sept. 2005
> 20050927203402 DATE: 27 sept. 2005
> 20050927131901 DATE: 27 sept. 2005
> 20050927131901 DATE: 27 sept. 2005
> 20050927132501 DATE: 27 sept. 2005
> 20050927132500 DATE: 27 sept. 2005
> 20050927133101 DATE: 27 sept. 2005
> 20050927133100 DATE: 27 sept. 2005
> 20050926115001 DATE: 26 sept. 2005
> 20050927112301 DATE: 27 sept. 2005
> 20050926091200 DATE: 26 sept. 2005 <-- PROBLEM!
> 20050927085701 DATE: 27 sept. 2005
> 20050923111558 DATE: 23 sept. 2005
> 20050923103700 DATE: 23 sept. 2005
> 20050923144300 DATE: 23 sept. 2005
> 20050922102200 DATE: 22 sept. 2005
> 20050922082701 DATE: 22 sept. 2005
> 20050923085601 DATE: 23 sept. 2005 <-- PROBLEM!
> 20050815102204 DATE: 15 august 2005
> 20050815102201 DATE: 15 august 2005
> 20050816102200 DATE: 16 august 2005  <-- PROBLEM!
> 20050815110400 DATE: 15 august 2005 
> 20050816124500 DATE: 16 august 2005 <-- PROBLEM!
> 20050812163334 DATE: 12 august 2005
> 20050812163331 DATE: 12 august 2005
> 20050812161840 DATE: 12 august 2005
> 20050812161935 DATE: 12 août 2005
> 20050812113442 DATE: 12 août 2005

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FieldValueSource.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: FloatFieldSource.java, FunctionFactory.java, FunctionInst.java, 
> FunctionQuery.java, IntFieldSource.java, LinearFloatFunction.java, 
> OrdFieldSource.java, ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FieldValueSourceFactory.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: FloatFieldSource.java, FunctionFactory.java, FunctionInst.java, 
> FunctionQuery.java, IntFieldSource.java, LinearFloatFunction.java, 
> OrdFieldSource.java, ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FloatFieldSource.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: FunctionInst.java, FunctionQuery.java, IntFieldSource.java, 
> LinearFloatFunction.java, OrdFieldSource.java, ReciprocalFloatFunction.java, 
> ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FunctionFactory.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: FunctionInst.java, FunctionQuery.java, IntFieldSource.java, 
> LinearFloatFunction.java, OrdFieldSource.java, ReciprocalFloatFunction.java, 
> ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FunctionInst.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: IntFieldSource.java, LinearFloatFunction.java, 
> OrdFieldSource.java, ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: LinearFloatFunction.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: OrdFieldSource.java, ReciprocalFloatFunction.java, 
> ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: IntFieldSource.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: LinearFloatFunction.java, OrdFieldSource.java, 
> ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: OrdFieldSource.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: ReciprocalFloatFunction.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: FunctionQuery.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: IntFieldSource.java, LinearFloatFunction.java, 
> OrdFieldSource.java, ReciprocalFloatFunction.java, ReverseOrdFieldSource.java
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: (was: ReverseOrdFieldSource.java)

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley

>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: function.zip

attaching newest version

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: function.zip
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
[ 
http://issues.apache.org/jira/browse/LUCENE-446?page=comments#action_12358936 ] 

Yonik Seeley commented on LUCENE-446:
-

This newest version simplifies a lot of cruft from the previous version.

A FunctionQuery takes a ValueSource.
The ValueSource produces a DocValues object for a specific IndexReader (It's 
like a lucene scorer).
The ValueSource is also used as input to functions, which are ValueSources 
themselves.

So, you can do things (symbolically), like

int(fieldx)
float(fieldx)
ord(fieldx)
rord(fieldx)
linear(fieldx,1,2)
linear(rord(fieldx),1,2,3)
reciprocal(linear(fieldx,1,2),3,4,5)

A useful one for boosting more recent dates might be:
reciprocal(rord(mydatefield),1,1000,1000)

I'm not sure if this is the final form yet... perhaps the division between 
ValueSource and Query  could be erased such that every value source is a query 
already (so that you don't need to pass it to a FunctionQuery).

It would also be nice to freely mix a lucene Query and a ValueSource so that 
you could do something like:
product(luceneQuery, val(fieldx))
  or even
product(luceneQuery1, luceneQuery2)

Of course, I haven't done the "product" function yet... right now, the normal 
way tocombine with other queries to influence the score is to put it in a 
boolean query:
+other_lucene_query_clauses +function_query^.1
the score from the function query is added to the other query.


> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: function.zip
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



[jira] Updated: (LUCENE-446) FunctionQuery - score based on field value

2005-11-30 Thread Yonik Seeley (JIRA)
 [ http://issues.apache.org/jira/browse/LUCENE-446?page=all ]

Yonik Seeley updated LUCENE-446:


Attachment: function.zip

changed getSimpleName() to getName() to preserve Java1.4 compatability.

> FunctionQuery - score based on field value
> --
>
>  Key: LUCENE-446
>  URL: http://issues.apache.org/jira/browse/LUCENE-446
>  Project: Lucene - Java
> Type: New Feature
>   Components: Search
> Versions: 1.9
> Reporter: Yonik Seeley
>  Attachments: function.zip, function.zip
>
> FunctionQuery can return a score based on a field's value or on it's ordinal 
> value.
> FunctionFactory subclasses define the details of the function.  There is 
> currently a LinearFloatFunction (a line specified by slope and intercept).
> Field values are typically obtained from FieldValueSourceFactory.  
> Implementations include FloatFieldSource, IntFieldSource, and OrdFieldSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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



Re: open source YourKit licence

2005-11-30 Thread Chris Lamprecht
I'm not a direct committer, although I have submitted a few patches,
some of which have been applied by Erik I think (small fixes and
testcases).  If this is good enough, I'd love a license.  I'd use it
for profiling Lucene (no kidding), as it's the CPU intensive part of
our app.  Previously I've just used java's built-in profiling
command-line options and JRockit's reporting stuff.
-chris

On 11/30/05, Yonik Seeley <[EMAIL PROTECTED]> wrote:
> Does anyone have experience with YourKit & the open source license?
> I was just asking for a license for myself (see email below), and the
> web page actually says that the logo is optional (and many other
> apache projects http://www.yourkit.com/customers/index.jsp seemingly
> exclude it.)
>
> Still, they are providing something for free, and they probably
> deserve a bump... maybe something like the credits here:
> http://db.apache.org/ojb/
>
> So,
> a) do any other committers want a license, and
> b) would we be willing to put their logo somewhere in exchange?
>
> -Yonik
>
> -- Forwarded message --
> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Nov 30, 2005 6:56 AM
> Subject: Re: open source YourKit licence
> To: Yonik Seeley <[EMAIL PROTECTED]>
>
>
> Hello Yonik,
>
> thank you for your interest in our product.
>
> We are ready to provide free of charge licenses for "Apache Lucene" project.
> Please send me the list of developers (names and surnames) which need 
> licenses.
>
> In return we require to place a link (with logo; find logo attached) to 
> YourKit
> at http://lucene.apache.org
>
> Should you have any questions or suggestions please do not hesitate to
> contact us.
>
>
> Best regards,
>  --Yonik
> YourKit, LLC
> http://www.yourkit.com
> "Don't get lost in data, get information!"
>
> Tuesday, November 29, 2005, 6:09:25 PM, you wrote:
>
> > Hi,
>
> > I'd like to get a free open-source license for YourKit 5, for my work
> > on Apache Lucene (I'm a committer).
> > http://lucene.apache.org/java/docs/whoweare.html
>
> > I use both Linux (x86 & x86_64) and Windows, if it matters.
>
> > Thanks,
> > Yonik Seeley
>
>
>
> -
> 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]