Current time: 01-28-2021, 07:05 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Query Search Time
08-25-2010, 10:59 PM (This post was last modified: 08-25-2010 11:02 PM by green-watch.org.)
Post: #46
RE: Database Query Search Time
Hey Anthony,

When you say you have actual files, are they formatted similar to this:

Code:
<add>
<doc>
  <field name="key">KeyValue1</field>
  <field name="custom1">Custom1Value1</field>
  <field name="custom2">Custom2Value1</field>
  <field name="custom3">Custom3Value1</field>
  <field name="custom4">Custom4Value1</field>
  <field name="summary">SummaryValue1</field>
</doc>
<doc>
  <field name="key">KeyValue2</field>
  <field name="custom1">Custom1Value2</field>
  <field name="custom2">Custom2Value2</field>
  <field name="custom3">Custom3Value2</field>
  <field name="custom4">Custom4Value2</field>
  <field name="summary">SummaryValue2</field>
</doc>
</add>

From what I have read, this is the format CFINDEX has to parse a file into so that SOLR will add or edit documents to the collection. There is also a CSV format SOLR will accept. However, with the CSV format, you can not give fields bonus values.

There might be a way to get SOLR to import data directly from a database:
http://www.coldfury.us/index.php/2010/01...ql-server/

Sincerely,
Travis Walters
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Database Query Search Time - pmeenan - 07-04-2010, 12:03 PM
RE: Database Query Search Time - pmeenan - 07-05-2010, 04:35 AM
RE: Database Query Search Time - sajal - 07-05-2010, 05:03 AM
RE: Database Query Search Time - pmeenan - 07-08-2010, 08:47 PM
RE: Database Query Search Time - sajal - 08-13-2010, 10:06 PM
RE: Database Query Search Time - sajal - 08-14-2010, 03:38 AM
RE: Database Query Search Time - sajal - 08-14-2010, 06:50 AM
RE: Database Query Search Time - pmeenan - 08-16-2010, 02:55 AM
RE: Database Query Search Time - sajal - 08-17-2010, 01:14 AM
RE: Database Query Search Time - pmeenan - 08-23-2010, 01:22 AM
RE: Database Query Search Time - pmeenan - 08-23-2010, 08:45 PM
RE: Database Query Search Time - ringman57 - 08-24-2010, 11:52 PM
RE: Database Query Search Time - ringman57 - 08-25-2010, 02:54 AM
RE: Database Query Search Time - green-watch.org - 08-25-2010 10:59 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)