You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@allura.apache.org by Aurélien Terrestris <at...@gmail.com> on 2014/01/09 08:50:40 UTC

ticket search not working

Hello

on the Allura instance that I am running, I see that the ticket search
is not working at all. It doesn't find any opened or closed tickets,
if I rename one milestone I cannot find my tickets anymore,..


The solr.log was complaining it could not find "collection1" so I
added this link :

allura/solr_config/collection1 ->solr-4.2.1/example/solr/collection1

It's not complaining anymore but the ticket search still doesn't work.
Any idea of what I should do ?

log extract :

INFO: Creating SolrCore 'collection1' using instanceDir:
/root/src/allura/solr_config/collection1
Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: new SolrResourceLoader for directory:
'/root/src/allura/solr_config/collection1/'
Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrConfig initLibs
...
INFO: [collection1] webapp=/solr path=/select/
params={fl=ticket_num_i&sort=mod_date_dt+desc,ticket_num_i+asc&start=0&q=!status_s:wont-fix+%26%26+!status_s:closed&wt=json&fq=type_s:Ticket&fq=project_id_s:525ba37b555d24032ce8b936&fq=mount_point_s:tickets&fq=is_history_b:False&rows=25}
hits=0 status=0 QTime=3


Thanks a lot for any help
A.T.

Re: ticket search not working

Posted by Aurélien Terrestris <at...@gmail.com>.
Thanks Tim !

the taskd process was really missing.

There are still some tickets that I don't find with the search tool,
although they contain the searched word. I will try some mongo
commands to understand what's wrong or come back on this mailing list
;)

best regards


"The search indexing tasks are executed by the `taskd` background
workers. First step is to confirm that there's a `paster taskd
development.ini` process running, and if not, start it (or just run
`~/start_allura` if you're on the vagrant setup).

HTH,
Tim"

2014-01-09 8:50 GMT+01:00 Aurélien Terrestris <at...@gmail.com>:
> Hello
>
> on the Allura instance that I am running, I see that the ticket search
> is not working at all. It doesn't find any opened or closed tickets,
> if I rename one milestone I cannot find my tickets anymore,..
>
>
> The solr.log was complaining it could not find "collection1" so I
> added this link :
>
> allura/solr_config/collection1 ->solr-4.2.1/example/solr/collection1
>
> It's not complaining anymore but the ticket search still doesn't work.
> Any idea of what I should do ?
>
> log extract :
>
> INFO: Creating SolrCore 'collection1' using instanceDir:
> /root/src/allura/solr_config/collection1
> Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrResourceLoader <init>
> INFO: new SolrResourceLoader for directory:
> '/root/src/allura/solr_config/collection1/'
> Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrConfig initLibs
> ...
> INFO: [collection1] webapp=/solr path=/select/
> params={fl=ticket_num_i&sort=mod_date_dt+desc,ticket_num_i+asc&start=0&q=!status_s:wont-fix+%26%26+!status_s:closed&wt=json&fq=type_s:Ticket&fq=project_id_s:525ba37b555d24032ce8b936&fq=mount_point_s:tickets&fq=is_history_b:False&rows=25}
> hits=0 status=0 QTime=3
>
>
> Thanks a lot for any help
> A.T.

Re: ticket search not working

Posted by Tim Van Steenburgh <tv...@gmail.com>.
The search indexing tasks are executed by the `taskd` background workers. First step is to confirm that there's a `paster taskd development.ini` process running, and if not, start it (or just run `~/start_allura` if you're on the vagrant setup).

HTH,
Tim

On Thursday, January 9, 2014 at 2:50 AM, Aurélien Terrestris wrote:

> Hello
>  
> on the Allura instance that I am running, I see that the ticket search
> is not working at all. It doesn't find any opened or closed tickets,
> if I rename one milestone I cannot find my tickets anymore,..
>  
>  
> The solr.log was complaining it could not find "collection1" so I
> added this link :
>  
> allura/solr_config/collection1 ->solr-4.2.1/example/solr/collection1
>  
> It's not complaining anymore but the ticket search still doesn't work.
> Any idea of what I should do ?
>  
> log extract :
>  
> INFO: Creating SolrCore 'collection1' using instanceDir:
> /root/src/allura/solr_config/collection1
> Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrResourceLoader <init>
> INFO: new SolrResourceLoader for directory:
> '/root/src/allura/solr_config/collection1/'
> Jan 8, 2014 11:46:04 PM org.apache.solr.core.SolrConfig initLibs
> ...
> INFO: [collection1] webapp=/solr path=/select/
> params={fl=ticket_num_i&sort=mod_date_dt+desc,ticket_num_i+asc&start=0&q=!status_s:wont-fix+%26%26+!status_s:closed&wt=json&fq=type_s:Ticket&fq=project_id_s:525ba37b555d24032ce8b936&fq=mount_point_s:tickets&fq=is_history_b:False&rows=25}
> hits=0 status=0 QTime=3
>  
>  
> Thanks a lot for any help
> A.T.
>  
>