how to write my own query?

2010-06-03 Thread Li Li
hi all, I want to implement a query that taking position and terms' relative positions into consideration. It only supports multiterm queries like boolean or query. But I want to consider term postion and terms relative positions. e.g. there are two docs doc1 apache lucene is a o

[jira] Updated: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Lance Norskog (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lance Norskog updated SOLR-1940: Comment: was deleted (was: Unforch I have no websphere and our websphere customers do not do the pa

[jira] Commented: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Lance Norskog (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875408#action_12875408 ] Lance Norskog commented on SOLR-1940: - Unforch I have no websphere and our websphere cus

[jira] Updated: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-1940: --- Attachment: SOLR-1940.patch Lance: can you try this patch out on your websphere server and see if it fixes th

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875368#action_12875368 ] Yonik Seeley commented on LUCENE-2380: -- I just committed a patch that helps... when m

[jira] Commented: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875366#action_12875366 ] Hoss Man commented on SOLR-1940: in general, ShowFileRequestHandler has no way of knowing if

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875360#action_12875360 ] Yonik Seeley commented on LUCENE-2380: -- bq. What do the numbers mean? Time to do the

[jira] Updated: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Lance Norskog (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lance Norskog updated SOLR-1940: Description: o.a.s.h.SolrDispatchFilter can set the output Content-Type to a null pointer instead o

[jira] Commented: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Lance Norskog (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875318#action_12875318 ] Lance Norskog commented on SOLR-1940: - When does this happen? The 'Schema' and 'Config

[jira] Created: (SOLR-1940) SolrDispatchFilter sets content type as NULL

2010-06-03 Thread Lance Norskog (JIRA)
SolrDispatchFilter sets content type as NULL Key: SOLR-1940 URL: https://issues.apache.org/jira/browse/SOLR-1940 Project: Solr Issue Type: Bug Reporter: Lance Norskog o.a.s.h.SolrDis

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875302#action_12875302 ] Michael McCandless commented on LUCENE-2380: H. Can you try adding ", tru

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875291#action_12875291 ] Uwe Schindler commented on LUCENE-2380: --- What do the numbers mean? Time to build cac

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875287#action_12875287 ] Yonik Seeley commented on LUCENE-2380: -- I did some performance testing on faceting us

[jira] Resolved: (SOLR-1938) make ElisionFilterFactory user-friendly

2010-06-03 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved SOLR-1938. --- Resolution: Fixed committed revision 951126 (trunk) / 951134 (3x) > make ElisionFilterFactory user-fr

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875256#action_12875256 ] Yonik Seeley commented on LUCENE-2380: -- Whew, that's one involved patch! I didn't get

Re: possible bug in SimpleFacets.java?

2010-06-03 Thread Michael McCandless
OK I'll go commit... Mike On Thu, Jun 3, 2010 at 2:40 PM, Yonik Seeley wrote: > On Thu, Jun 3, 2010 at 2:14 PM, Michael McCandless > wrote: >> While working on LUCENE-2380 I think I found a bug in >> SimpleFacets.java -- it would not use directExecutor when threads==0. >> >> Here's a patch to f

[jira] Commented: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875233#action_12875233 ] Michael McCandless commented on LUCENE-2380: I opened LUCENE-2483 for the futu

Re: possible bug in SimpleFacets.java?

2010-06-03 Thread Yonik Seeley
On Thu, Jun 3, 2010 at 2:14 PM, Michael McCandless wrote: > While working on LUCENE-2380 I think I found a bug in > SimpleFacets.java -- it would not use directExecutor when threads==0. > > Here's a patch to fix it: > > --- solr/src/java/org/apache/solr/request/SimpleFacets.java     (revision > 9

[jira] Resolved: (LUCENE-2380) Add FieldCache.getTermBytes, to load term data as byte[]

2010-06-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-2380. Resolution: Fixed > Add FieldCache.getTermBytes, to load term data as byte[] > ---

possible bug in SimpleFacets.java?

2010-06-03 Thread Michael McCandless
While working on LUCENE-2380 I think I found a bug in SimpleFacets.java -- it would not use directExecutor when threads==0. Here's a patch to fix it: --- solr/src/java/org/apache/solr/request/SimpleFacets.java (revision 951028) +++ solr/src/java/org/apache/solr/request/SimpleFacets.java

[jira] Commented: (SOLR-1870) Binary Update Request (javabin) fails when the field type of a multivalued SolrInputDocument field is a Set (or any type that is identified as an instance of iterable)

2010-06-03 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875202#action_12875202 ] Hoss Man commented on SOLR-1870: bq. concerning the "seenOuterMostDocIterator", Is it the ca

[jira] Created: (SOLR-1939) DataImportHandler reports success after running out of disk space

2010-06-03 Thread Wojtek Piaseczny (JIRA)
DataImportHandler reports success after running out of disk space - Key: SOLR-1939 URL: https://issues.apache.org/jira/browse/SOLR-1939 Project: Solr Issue Type: Bug C

[jira] Commented: (SOLR-1870) Binary Update Request (javabin) fails when the field type of a multivalued SolrInputDocument field is a Set (or any type that is identified as an instance of iterable)

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875104#action_12875104 ] Yonik Seeley commented on SOLR-1870: concerning the "seenOuterMostDocIterator", Is it t

[jira] Commented: (SOLR-1938) make ElisionFilterFactory user-friendly

2010-06-03 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875089#action_12875089 ] Yonik Seeley commented on SOLR-1938: Yep, makes sense. > make ElisionFilterFactory user

[jira] Commented: (LUCENE-2485) IndexWriter should also warm flushed segments

2010-06-03 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875027#action_12875027 ] Michael McCandless commented on LUCENE-2485: In addition to the "more context"