I did more digging into the Solr config XML for my collection, and found
this in the updateHandler:

    <autoCommit>
      <maxDocs>10000</maxDocs>
     <!-- <maxTime>1000</maxTime> -->
    </autoCommit>

That seems to allow me to index more documents.

Solr ended up not being able to do what I needed so I've used SQL full-text
indexing instead.

Just wanted to ask again if there's anyone out there who's had experience
with this before





On 25 February 2013 15:19, Edward Chanter <[email protected]> wrote:

> I'm trying to create a searchable index of database content using SOLR.
> It's a really simple implementation. The problem is that it won't let me
> index more that 10,000 rows of data. I can do 10k no problemo but as soon
> as I try to increase the number I get an HTTP 500 error from IIS, not CF,
> which also makes no sense.
>
> I'm running CF10/IIS 7.5 and the code lives within a CFWheels 1.1.8
> framework.
>
> I've included my code below but it's as basic as things get so I don't
> think the code is the problem.
>
> <cftry>
> <cfcollection
> action = "create"
>  collection = "st_items"
> engine = "solr"
> path = "PATH_TO_\collections\">
>
> <cfcatch type="any">
> </cfcatch>
> </cftry>
>
> <cfquery name="itemList" datasource="#application.dsn#" maxrows="20000">
> select * from items where deletedat IS NULL
> </cfquery>
>  <cfindex
>      query="itemList"
>      collection="st_items"
>      action="refresh"
>      key="id"
>     title="title"
>     body="description,implications,whatchanging,whyimportant,textcapture">
>
> If anyone has any ideas I'd be most grateful for your insight.
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354701
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to