[jira] Commented: (SOLR-258) Date based Facets

2007-07-15 Thread Tristan Vittorio (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512775
 ] 

Tristan Vittorio commented on SOLR-258:
---

 4) my hesitation about renaming gap to interval is that i wanted to leave 
 the door open 
  for a sperate interval option (to define a gap between the gaps so 
 to speak) later 
  should it be desired ... see the questions i listed when opening the 
 bug.

I do like the idea of having an interval between gaps, however to me it 
would make more sense to reverse the meanings of these parameters to have 
gaps between intervals.  Regardless, as long as it's clearly documented, it 
shouldn't make any difference what you name them.

 5) i don't think this code makes sense for non-linear intervals ...

It might be better to keep the logic simple and as-is for now so you can commit 
it.  Having a facet.range parameter or some way to specify multiple date 
facets on a single field would be useful in the future.

 7) my prefrence is for every count to cover a range of exactly gap but i 
 can definitely see where 
  having a hard cutoff of end is usefull, so i'll make it an option ... 
 name suggestions?

Just thinking through this further, rather than specifying both start and end 
times, it might be more precise to specify a single start time, a gap, and a 
gap count (how many gaps to include), this will avoid the problem of the 
last gap going past the end date.

I find it much easier to criticize other people's naming conventions than to 
come up with good ones myself, however I'll offer hardend (true | false) as 
an interim name, hopefully someone can think of a better one.

 i'll make sure to echo the value of end as well so it's easy to build 
 filter queries for that last range ... 
 probably should have it anyway to build filter queries on between and after.

It might be helpful to output the value of start also, especially if it was 
specified as an offset of NOW.

 should the ranges used to compute the between and after counts depend on 
 where the last range ended or on the literal end param?

I suppose this will depend on the value of hardend, if true then use the 
end value, otherwise use the end of the last gap.

 8) the NOW variance really bugs me ...

Sounds like a pretty nasty problem affecting more than just this date facet.  I 
know Solr is not a RDBMS, but I always assumed that NOW would be constant 
throughout the life of a query.  Definitely something to think about as a 
seperate issue though.


 Date based Facets
 -

 Key: SOLR-258
 URL: https://issues.apache.org/jira/browse/SOLR-258
 Project: Solr
  Issue Type: New Feature
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: date_facets.patch, date_facets.patch, date_facets.patch, 
 date_facets.patch, date_facets.patch


 1) Allow clients to express concepts like...
 * give me facet counts per day for every day this month.
 * give me facet counts per hour for every hour of today.
 * give me facet counts per hour for every hour of a specific day.
 * give me facet counts per hour for every hour of a specific day and 
 give me facet counts for the 
number of matches before that day, or after that day. 
 2) Return all data in a way that makes it easy to use to build filter queries 
 on those date ranges.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-258) Date based Facets

2007-07-15 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512776
 ] 

Hoss Man commented on SOLR-258:
---

 it might be more precise to specify a single start time, a gap, and a gap 
 count 
 (how many gaps to include), this will avoid the problem of the last gap 
 going past the end date.

that would eliminate the DateMathParser value add for ... right now you can 
hardcode start=NOW/MONTHend=NOW/MONTH+1MONTHgap=+1DAY and get counts per 
day for the current month -- no matter how many days are in the current month 
... if we changed it so a param said how many counts to compute they couldn't 
be specified in the solrconfig and the client would have to be a lot smarter 
(and might as well use explicit date params since it has to know the  current 
month to know the number of days)

 It might be helpful to output the value of start also, 
 especially if it was specified as an offset of NOW.

that's already in the output ... each count is labeled by the lower bound of 
it's range, so the label of the first count is the  start .. but i guess 
there's no harm in being explicit about it.


 Date based Facets
 -

 Key: SOLR-258
 URL: https://issues.apache.org/jira/browse/SOLR-258
 Project: Solr
  Issue Type: New Feature
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: date_facets.patch, date_facets.patch, date_facets.patch, 
 date_facets.patch, date_facets.patch


 1) Allow clients to express concepts like...
 * give me facet counts per day for every day this month.
 * give me facet counts per hour for every hour of today.
 * give me facet counts per hour for every hour of a specific day.
 * give me facet counts per hour for every hour of a specific day and 
 give me facet counts for the 
number of matches before that day, or after that day. 
 2) Return all data in a way that makes it easy to use to build filter queries 
 on those date ranges.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-258) Date based Facets

2007-07-15 Thread Pieter Berkel (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512778
 ] 

Pieter Berkel commented on SOLR-258:


Sorry that last comment was from me, not posted from my regular computer.  I'll 
be more careful to post as myself and not as a colleague in future (I was 
wondering why JIRA didn't ask me to login, d'oh).

 Date based Facets
 -

 Key: SOLR-258
 URL: https://issues.apache.org/jira/browse/SOLR-258
 Project: Solr
  Issue Type: New Feature
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: date_facets.patch, date_facets.patch, date_facets.patch, 
 date_facets.patch, date_facets.patch


 1) Allow clients to express concepts like...
 * give me facet counts per day for every day this month.
 * give me facet counts per hour for every hour of today.
 * give me facet counts per hour for every hour of a specific day.
 * give me facet counts per hour for every hour of a specific day and 
 give me facet counts for the 
number of matches before that day, or after that day. 
 2) Return all data in a way that makes it easy to use to build filter queries 
 on those date ranges.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Issue Comment Edited: (SOLR-258) Date based Facets

2007-07-15 Thread Pieter Berkel (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512778
 ] 

Pieter Berkel edited comment on SOLR-258 at 7/14/07 11:59 PM:
--

Sorry that last comment was from me (not Tristan), not posted from my regular 
computer.  I'll be more careful to post as myself and not as a colleague in 
future (I was wondering why JIRA didn't ask me to login, d'oh).


 was:
Sorry that last comment was from me, not posted from my regular computer.  I'll 
be more careful to post as myself and not as a colleague in future (I was 
wondering why JIRA didn't ask me to login, d'oh).

 Date based Facets
 -

 Key: SOLR-258
 URL: https://issues.apache.org/jira/browse/SOLR-258
 Project: Solr
  Issue Type: New Feature
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: date_facets.patch, date_facets.patch, date_facets.patch, 
 date_facets.patch, date_facets.patch


 1) Allow clients to express concepts like...
 * give me facet counts per day for every day this month.
 * give me facet counts per hour for every hour of today.
 * give me facet counts per hour for every hour of a specific day.
 * give me facet counts per hour for every hour of a specific day and 
 give me facet counts for the 
number of matches before that day, or after that day. 
 2) Return all data in a way that makes it easy to use to build filter queries 
 on those date ranges.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (SOLR-283) Autocomit not work for delete operation

2007-07-15 Thread Sergey Dryganets (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Dryganets closed SOLR-283.
-

   Resolution: Fixed
Fix Version/s: 1.3

thank you it's work fine now

 Autocomit not work for delete operation
 ---

 Key: SOLR-283
 URL: https://issues.apache.org/jira/browse/SOLR-283
 Project: Solr
  Issue Type: Bug
  Components: update
Affects Versions: 1.2
 Environment: Windows XP sp2,  java 1.6 u1
Reporter: Sergey Dryganets
Assignee: Ryan McKinley
 Fix For: 1.3

 Attachments: SOLR-283-AutoDelete.patch


 autocommit not work for deletion from index
 deleted items are pending for deletion
 autoCommit 
 maxDocs1/maxDocs
 !-- max store time in queue = 1 min --
 maxTime6/maxTime
 /autoCommit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (SOLR-302) SolrIndexSearcher bug

2007-07-15 Thread Sergey Dryganets (JIRA)
SolrIndexSearcher bug
-

 Key: SOLR-302
 URL: https://issues.apache.org/jira/browse/SOLR-302
 Project: Solr
  Issue Type: Bug
Affects Versions: 1.3
 Environment: Windows XP SP2 rus
jdk 1.6.0_u1
Reporter: Sergey Dryganets


protected DocSet getDocSet(ListQuery queries) throws IOException {
if (queries==null) return null;
if (queries.size()==1) return getDocSet(queries.get(0));

   ^^^ -- why you use only first sub query
Can you put results of all queryes into the Set?

than I create query  field_name:value1 value2 value3

i recive only documents with field_name== value1

Now i trying to filter results of the query  by id list

may be there are some another way to filter results by id's list? 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SOLR-302) SolrIndexSearcher bug

2007-07-15 Thread Yonik Seeley (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley resolved SOLR-302.
---

Resolution: Invalid

 why you use only first sub query
Because there is only one sub query... notice the queries.size()==1
Are you actually experiencing an error somewhere?  If so please provide an 
example/test.

Closing this bug.

 SolrIndexSearcher bug
 -

 Key: SOLR-302
 URL: https://issues.apache.org/jira/browse/SOLR-302
 Project: Solr
  Issue Type: Bug
Affects Versions: 1.3
 Environment: Windows XP SP2 rus
 jdk 1.6.0_u1
Reporter: Sergey Dryganets

 protected DocSet getDocSet(ListQuery queries) throws IOException {
 if (queries==null) return null;
 if (queries.size()==1) return getDocSet(queries.get(0));
   
  ^^^ -- why you use only first sub query
 Can you put results of all queryes into the Set?
 than I create query  field_name:value1 value2 value3
 i recive only documents with field_name== value1
 Now i trying to filter results of the query  by id list
 may be there are some another way to filter results by id's list? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [jira] Created: (SOLR-302) SolrIndexSearcher bug

2007-07-15 Thread Mike Klaas


On 15-Jul-07, at 1:59 PM, Sergey Dryganets (JIRA) wrote:





than I create query  field_name:value1 value2 value3

i recive only documents with field_name== value1

Now i trying to filter results of the query  by id list

may be there are some another way to filter results by id's list?


Note that the above query has three clauses

field_name:value1 default search field:value2 default:value3

is this perhaps what you are looking for?

field_name:(value1 value2 value3)

-Mike


[jira] Commented: (SOLR-205) SolrSharp - a C# client API for Solr

2007-07-15 Thread ms (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512834
 ] 

ms commented on SOLR-205:
-

I am using solrsharp-1.2-07082007 - I have a dynamicField declared in my 
schema.xml file as 
dynamicField name=*_demo type=text_ws indexed=true  stored=true/
-but, if I try to add a field using my vb.net application 
doc.Add(id_demo, s)
where is a string value, the document does fails 
solrSearcher.SolrSchema.IsValidUpdateIndexDocument(doc)
MS

 SolrSharp - a C# client API for Solr
 

 Key: SOLR-205
 URL: https://issues.apache.org/jira/browse/SOLR-205
 Project: Solr
  Issue Type: New Feature
 Environment: Microsoft Windows, .Net Framework 2.0
Reporter: Jeff Rodenburg
Priority: Minor
 Attachments: solrsharp-1.2-07082007.zip


 SolrSharp is a client API written in C# using the .Net framework to interact 
 with Apache Solr.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.