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

Erick Erickson resolved SOLR-7303.
----------------------------------
    Resolution: Not a Problem

Please raise issues _first_ on the user's list rather than raising a JIRA. We 
try to keep the JIRA for code issues rather than what looks, at first glance, 
like a usage questions. If the consensus is that this is really a code issue, 
we can re-open.

In the case almost certainly you are not updating all the documents thus the 
old values are still seen in certain docs. The other possibility is that you're 
not issuing a commit afterwards and not waiting until your autocommit kicks in 
(soft commit or hard commit with openSearcher=true in solrconfig.xml). I don't 
remember offhand whether DIH issues commits automatically.

So you have to confirm that all the id's are updated when you do a full import, 
which may not happen if some of the original records were, say, deleted.

> Full import having problem
> --------------------------
>
>                 Key: SOLR-7303
>                 URL: https://issues.apache.org/jira/browse/SOLR-7303
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.0-BETA
>         Environment: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM .
>            Reporter: Abhi
>             Fix For: 4.3.1
>
>
> We have the problem with full-import. if we did the full import also the all 
> documents are not taking the updated data from the database view.
> Due to SOLR indexing problem the sort is not working as we expected but the 
> code is updated and it is reflecting for some of the items in the site.
> kindly find the steps below for more information.
> 1. I have updated the database view i.e changed the table name for the single 
> column in the view.
> 2. did the full import
> 3. But still some of the documents have the old data(for updated single 
> field).
> 4. And the document get changed only if the document have changes.
> example.
> i have the field name as "hits". now i have taken the "hits" from different 
> table than previous so that i did the full import to change the "hits value" 
> in all the document in the solr. But some documents still have the old hits 
> value. even i have restarted also the problem not get solved.
> kindly check and help me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to