[jira] Commented: (SOLR-469) Data Import RequestHandler

2008-09-21 Thread ms (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633075#action_12633075
 ] 

ms commented on SOLR-469:
-

Shalin
Sent a test case for Firebird just now to your email ID. If it is a bug with 
firebird, please let me know how I may report it. thanks!

> Data Import RequestHandler
> --
>
> Key: SOLR-469
> URL: https://issues.apache.org/jira/browse/SOLR-469
> Project: Solr
>  Issue Type: New Feature
>  Components: update
>Affects Versions: 1.3
>Reporter: Noble Paul
>Assignee: Shalin Shekhar Mangar
> Fix For: 1.3
>
> Attachments: SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, 
> SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, 
> SOLR-469.patch, SOLR-469.patch, xpath-stream.patch
>
>
> We need a RequestHandler Which can import data from a DB or other dataSources 
> into the Solr index .Think of it as an advanced form of SqlUpload Plugin 
> (SOLR-103).
> The way it works is as follows.
> * Provide a configuration file (xml) to the Handler which takes in the 
> necessary SQL queries and mappings to a solr schema
>   - It also takes in a properties file for the data source 
> configuraution
> * Given the configuration it can also generate the solr schema.xml
> * It is registered as a RequestHandler which can take two commands 
> do-full-import, do-delta-import
>   -  do-full-import - dumps all the data from the Database into the 
> index (based on the SQL query in configuration)
>   - do-delta-import - dumps all the data that has changed since last 
> import. (We assume a modified-timestamp column in tables)
> * It provides a admin page
>   - where we can schedule it to be run automatically at regular 
> intervals
>   - It shows the status of the Handler (idle, full-import, 
> delta-import)

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



[jira] Commented: (SOLR-469) Data Import RequestHandler

2008-09-20 Thread ms (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633046#action_12633046
 ] 

ms commented on SOLR-469:
-

Great patch. I am trying to use this with Firebird. The root Entity makes it's 
way into the index - but not the sub entities. On debugging with 
dataimport.jsp, the sub entities seem to be correctly processed. I can submit a 
test case with embedded firebird if necessary.

> Data Import RequestHandler
> --
>
> Key: SOLR-469
> URL: https://issues.apache.org/jira/browse/SOLR-469
> Project: Solr
>  Issue Type: New Feature
>  Components: update
>Affects Versions: 1.3
>Reporter: Noble Paul
>Assignee: Shalin Shekhar Mangar
> Fix For: 1.3
>
> Attachments: SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469-contrib.patch, SOLR-469-contrib.patch, 
> SOLR-469-contrib.patch, SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, 
> SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, SOLR-469.patch, 
> SOLR-469.patch, SOLR-469.patch, xpath-stream.patch
>
>
> We need a RequestHandler Which can import data from a DB or other dataSources 
> into the Solr index .Think of it as an advanced form of SqlUpload Plugin 
> (SOLR-103).
> The way it works is as follows.
> * Provide a configuration file (xml) to the Handler which takes in the 
> necessary SQL queries and mappings to a solr schema
>   - It also takes in a properties file for the data source 
> configuraution
> * Given the configuration it can also generate the solr schema.xml
> * It is registered as a RequestHandler which can take two commands 
> do-full-import, do-delta-import
>   -  do-full-import - dumps all the data from the Database into the 
> index (based on the SQL query in configuration)
>   - do-delta-import - dumps all the data that has changed since last 
> import. (We assume a modified-timestamp column in tables)
> * It provides a admin page
>   - where we can schedule it to be run automatically at regular 
> intervals
>   - It shows the status of the Handler (idle, full-import, 
> delta-import)

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



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

2007-08-04 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

Jeff
Please let me know if you were able to get this to work.
The problem I have is that the the client using Solr# needs to supply a value 
to the declared field "demographics" - or ti will fail 
IsValidUpdateIndexDocument. 
A related problem that I am having is that if you add 2 or more dynamic fields 
("id_demo" and "somethingelse_demo") - there is no error message - but, using 
Luke I see that the document has not been added to the index. TIA

> 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
>  Components: clients - C#
> Environment: Microsoft Windows, .Net Framework 2.0
>Reporter: Jeff Rodenburg
>Assignee: Jeff Rodenburg
>Priority: Minor
> Attachments: solrsharp-1.2-07182007.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.



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

2007-07-21 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

Another possible bug - not sure if this is a bug with Solr# or Solr. To 
reproduce, create a dynamicField and copyField in schema like this




Now, add TWO fields to match your dynamic field using solr# - for example:

doc.Add("id_demo", "lorem")
doc.Add("sample_demo", "ipsum")

When I add this document to a new Index, I get a corrupted index.

> 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
>  Components: clients - C#
> Environment: Microsoft Windows, .Net Framework 2.0
>Reporter: Jeff Rodenburg
>Assignee: Jeff Rodenburg
>Priority: Minor
> Attachments: solrsharp-1.2-07182007.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.



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

2007-07-21 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

With solrsharp-1.2-07082007 I am able to use dynamicFields. However, I have a 
problem with copyFiels that reference dynamicFields.
Consider the above example of 
 
if I now have 

then I must also have 

Now, if I use Solr#, I have to have 
doc.Add("demographics", "")  
or it will fail IsValidUpdateIndexDocument. But this is causing the index to be 
corrupted. Also, this defeats the purpose of copyFields - which is a server 
side mechanism to aggregate fields. 
Could we have solr# raise IsValidUpdateIndexDocument = false only if the field 
has "Isrequired = true"? tia


> 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
>  Components: clients - C#
> Environment: Microsoft Windows, .Net Framework 2.0
>Reporter: Jeff Rodenburg
>Assignee: Jeff Rodenburg
>Priority: Minor
> Attachments: solrsharp-1.2-07182007.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.



[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 

-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.



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

2007-06-15 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

Jeff-  I will check the code at the link you provided. However, looking at the 
Examples, I do not see code sample for delete by query.  My intention is to 
delte all documents/range of documents prior to (partially) reb-uilding the 
index.

> 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
>
> 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.



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

2007-06-14 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

Jeff,
Thanks. I have it working against Solr 1.2. I am trying to figure out how to 
delete a document from the index. This is the code I am using and it is not 
working. TIA

Dim SolrU As New 
org.apache.solr.SolrSharp.Update.SolrUpdater(solrSearcher)
Dim doc As New org.apache.solr.SolrSharp.Indexing.DeleteIndexDocument
doc.Id = "*a*"
SolrU.PostToIndex(doc, True)
SolrU.Optimize()

> 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
>
> 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.



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

2007-06-10 Thread ms (JIRA)

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

ms commented on SOLR-205:
-

I am having difficulty using SolrSharp in a VB.NET project. I am using .NET 2.0 
uncer Windows Vista (VS 2005). The problem is that the document does not pass 
"IsValidUpdateIndexDocument'
--
I create a SolrSharp document thus:

Imports System.Xml.Serialization
Imports org.apache.solr.SolrSharp.Indexing

 _
Public Class SolrDocument

Inherits UpdateIndexDocument

Public Sub New()
End Sub

Public Sub New(ByVal id As String, ByVal Diagnosis As String)
Me.Add(New IndexFieldValue("id", id))
Me.Add(New IndexFieldValue("Diagnosis", Diagnosis))
End Sub
End Class

Then I try to post it like this:

 Dim solrSearcher As SolrSharp.Configuration.SolrSearcher _
  = 
SolrSharp.Configuration.SolrSearchers.GetSearcher(SolrSharp.Configuration.Mode.Read)

Dim SolrU As New 
org.apache.solr.SolrSharp.Update.SolrUpdater(solrSearcher)
Dim doc As New SolrDocument(txtID.Text, txtDiagnosis.Text)

If Not solrSearcher.SolrSchema.IsValidUpdateIndexDocument(doc) Then 
MessageBox.Show("Cannot validate document: ")

Try

SolrU.PostToIndex(doc, True)

Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try


> 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_0.1.zip, solrsharp_0.1.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.