Yes that was the problem.. thanks Nobble. All this time i have been trying various possibilities with <uniqueKey required="false"> Earlier when i removed it there was some sort of error and then i kept it as required=false.
Now I removed it and again tried the same. It is now working fine. So this issue is now solved. Thanks again Nobble. Thanks con Noble Paul നോബിള് नोब्ळ् wrote: > > This is to debug your problem. > remove the <unniqueKey> and run import. > just see if all the docs are shown . > If yes , then you have duplicate ids which cause some documents to be > removed > > > > > > On Fri, Oct 17, 2008 at 2:01 PM, con <[EMAIL PROTECTED]> wrote: >> >> The responce that i get while executing >> http://localhost:8983/solr/core0/dataimport?command=full-import >> shows that all the rows that are expected to be the output of that query >> is >> getting indexed. >> The count, >> <str name=""> >> Indexing completed. Added/Updated: 19 documents. Deleted 0 documents. >> </str> >> is as expected. >> >> But when i invoke a *:* it is displaying only 9 records. >> >> Similarly, For another entity that indexes around 500 records, a *:* >> gives >> only 4 responces. >> >> Why this inconsistency ? how can I fix it before deploying it in actual >> production. >> Thanks >> con >> >> >> Noble Paul നോബിള് नोब्ळ् wrote: >>> >>> how do you know that indexing is fine? does a query of *:* give all >>> the results you wanted? >>> >>> On Thu, Oct 16, 2008 at 3:58 PM, con <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> Yes. something similar to : >>>> >>>> <entity name="sample1" transformer="TemplateTransformer" pk="userID" >>>> query="select * from USER, CUSTOMER where USER.userID = >>>> CUSTOMER.userID"> >>>> <field column="rowtype" template="sample1" /> >>>> <field column="userID" name="userID" /> >>>> </entity> >>>> >>>> <entity name="sample2" transformer="TemplateTransformer" pk="userID" >>>> query="select * from USER , MANAGER where USER.desig = MANAGER.desig"> >>>> <field column="rowtype" template="sample2" /> >>>> <field column="userID" name="userID" /> >>>> </entity> >>>> >>>> But the searching will not give all the results even if there is only >>>> one >>>> result. whereas indexing is fine. >>>> Thanks >>>> con >>>> >>>> >>>> Noble Paul നോബിള് नोब्ळ् wrote: >>>>> >>>>> do you have 2 queries in 2 different entities? >>>>> >>>>> >>>>> On Thu, Oct 16, 2008 at 3:17 PM, con <[EMAIL PROTECTED]> wrote: >>>>>> >>>>>> I have two queries in my data-config.xml which takes values from >>>>>> multiple >>>>>> tables, like: >>>>>> select * from EMPLOYEE, CUSTOMER where EMPLOYEE.prod_id= >>>>>> CUSTOMER.prod_id. >>>>>> >>>>>> When i do a full-import it is indexing all the rows as expected. >>>>>> >>>>>> But when i search it with a *:* , it is not displaying all the >>>>>> values. >>>>>> Do I need any extra configurations? >>>>>> >>>>>> Thanks >>>>>> con >>>>>> -- >>>>>> View this message in context: >>>>>> http://www.nabble.com/Solr-search-not-displaying-all-the-indexed-values.-tp20010401p20010401.html >>>>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> --Noble Paul >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Solr-search-not-displaying-all-the-indexed-values.-tp20010401p20010927.html >>>> Sent from the Solr - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> -- >>> --Noble Paul >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Solr-search-not-displaying-all-the-indexed-values.-tp20010401p20029228.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > > -- > --Noble Paul > > -- View this message in context: http://www.nabble.com/Solr-search-not-displaying-all-the-indexed-values.-tp20010401p20032104.html Sent from the Solr - User mailing list archive at Nabble.com.