You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Matthew Montgomery <Ma...@Sun.COM> on 2007/08/17 20:40:14 UTC
Built-in Search Displaying No Results
Hi all,
I am currently trying to troubleshot a problem with the built-in
search on an internal instance of Roller. This is a based on a fairly
recent snapshot of the 4.0 dev code and is the same base that
blogs.sun.com is running on, though blogs.sun.com doesn't use the
built-in search. Essentially, no results are ever returned. Search is
enabled in the configuration file and I see new files in the
configured search index directory. I have attempted to manually
reindex a particular blog but still no results. I see no errors in
roller.log or the webserver log file during these events.
I haven't worked with the built-in search before, so any pointers on
where to start debugging are very much appreciated.
Thanks.
--
Matthew Montgomery
.Sun Engineering
Sun Microsystems, Inc.
Re: Built-in Search Displaying No Results
Posted by Matthew Montgomery <Ma...@Sun.COM>.
On Aug 20, 2007, at 8:44 AM, Dave wrote:
> Hi Matt,
>
> Couple of things to try. First, set DEBUG logging for search by adding
> this to your roller-custom.properties override file.
Thanks for the pointers Dave. I will add in this property and see how
it goes.
>
> log4j.category.org.apache.roller.weblogger.business.search=DEBUG
>
> Stop your server, delete (or hide) your log files and restart. Watch
> what happens on startup. Does the search engine attempt to re-index?
> Does it succeed? What happens when you publish a new entry, do you see
> DEBUG output of the index operation?
>
> It's possible that your search index has somehow become corrupted.
> Often this can be resolved by simply deleting the search-index
> directory (i.e. the one specified by the 'search.index.dir' property)
> and allowing Roller to re-create it.
>
> Hope that helps...
>
> - Dave
>
>
>
> On 8/17/07, Matthew Montgomery <Ma...@sun.com> wrote:
>> Hi all,
>>
>> I am currently trying to troubleshot a problem with the built-in
>> search on an internal instance of Roller. This is a based on a fairly
>> recent snapshot of the 4.0 dev code and is the same base that
>> blogs.sun.com is running on, though blogs.sun.com doesn't use the
>> built-in search. Essentially, no results are ever returned. Search is
>> enabled in the configuration file and I see new files in the
>> configured search index directory. I have attempted to manually
>> reindex a particular blog but still no results. I see no errors in
>> roller.log or the webserver log file during these events.
>>
>> I haven't worked with the built-in search before, so any pointers on
>> where to start debugging are very much appreciated.
>>
>> Thanks.
>>
>> --
>> Matthew Montgomery
>> .Sun Engineering
>> Sun Microsystems, Inc.
>>
>>
>>
--
Matthew Montgomery
.Sun Engineering
Sun Microsystems, Inc.
Re: Built-in Search Displaying No Results
Posted by Dave <sn...@gmail.com>.
Hi Matt,
Couple of things to try. First, set DEBUG logging for search by adding
this to your roller-custom.properties override file.
log4j.category.org.apache.roller.weblogger.business.search=DEBUG
Stop your server, delete (or hide) your log files and restart. Watch
what happens on startup. Does the search engine attempt to re-index?
Does it succeed? What happens when you publish a new entry, do you see
DEBUG output of the index operation?
It's possible that your search index has somehow become corrupted.
Often this can be resolved by simply deleting the search-index
directory (i.e. the one specified by the 'search.index.dir' property)
and allowing Roller to re-create it.
Hope that helps...
- Dave
On 8/17/07, Matthew Montgomery <Ma...@sun.com> wrote:
> Hi all,
>
> I am currently trying to troubleshot a problem with the built-in
> search on an internal instance of Roller. This is a based on a fairly
> recent snapshot of the 4.0 dev code and is the same base that
> blogs.sun.com is running on, though blogs.sun.com doesn't use the
> built-in search. Essentially, no results are ever returned. Search is
> enabled in the configuration file and I see new files in the
> configured search index directory. I have attempted to manually
> reindex a particular blog but still no results. I see no errors in
> roller.log or the webserver log file during these events.
>
> I haven't worked with the built-in search before, so any pointers on
> where to start debugging are very much appreciated.
>
> Thanks.
>
> --
> Matthew Montgomery
> .Sun Engineering
> Sun Microsystems, Inc.
>
>
>