You're explicitly asking for only 10 search results - that's what the
"rows=10" parameter does.

If you want to see alll results, you can either increase "rows", or run
multiple queries, increasing "offset" each time.


On Wed, Aug 7, 2013 at 12:21 PM, Kamaljeet Kaur <kamal.kaur...@gmail.com>wrote:

> Hello,
> I am a newbie to solr. I have installed and configured it with my django
> project. I am using the following versions:
> >>> django-haystack - 2.0.0
> >>> ApacheSolr - 3.5.0
> >>> Django - 1.4
> >>> mysql - 5.5.32-0
>
> Here is the model, whose data I want to index: http://tny.cz/422c5fb7
> Here is search_indexes.py: http://tny.cz/8de95043
>
> Have created the file templates/search/indexes/myapp/userprofile_text.txt
> Have created a template to show the results after querying from database.
>
> I have build schema using the command " $ ./manage.py build_solr_schema "
> and replaced the contents of example/solr/conf/schema.xml with the output.
> Here is it http://tny.cz/49fe8e1d
>
> When I use the command " $ ./manage.py rebuild_index " to create indexes,
> it
> shows:
>
> WARNING: This will irreparably remove EVERYTHING from your search index in
> connection 'default'.
> Your choices after this are to restore from backups or rebuild via the
> `rebuild_index` command.
> Are you sure you wish to continue? [y/N] y
> Removing all documents from your index because you said so.
> All documents removed.
> Indexing 18 user profiles
>
> But indexes are shown only for 10 user profiles. I am seeing the indexes
> here:
>
>
> http://localhost:8983/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on
>
> Only those userprofiles are shown, when searched for. Why does it happen?
> And how to solve this issue?
>
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-doesn-t-make-indexes-for-all-the-enteries-tp4082977.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to