When I do a search on my Solr site, the "Filter by Content Type" has the following option listed as the first content type: [* TO *]. The URL it links to is the following: /search/apachesolr_search/party?filters=-type%3A%5B%2A%20TO%20%2A%5D. The rest of the filters are the usual Content Type name and the URL has http://staging.intellectualtakeout.org/search/apachesolr_search/party?filters=type%3Apage. Anyone seen this before? Is there something I'm doing wrong to get that filter there? Thanks in advance for all help in figuring what is going on.

Comments

nick_vh’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not sure if I understand correctly? Would you be able to post a tutorial how we can replicate this behavior?

dandaman’s picture

Well, I'll try to see if I can set up an Apache Solr on my local machine, but here's an example on the live site:

http://www.intellectualtakeout.org/search/apachesolr_search/national%20debt

If you go to that URL, you can see the first filter option under "Filter By Type" is "[* TO *]". We definitely do not have a content type named that. It doesn't always seem to show that option, depending on the word.

The Apache Solr install is a standard install and it seemed to have gone perfectly besides this issue. The website is currently a Pressflow site running on Nginx and Varnish, which we have had some other issues with.

dandaman’s picture

Actually, I believe I may have found the problem. I just looked at my database and it does seem there are a number of nodes in our large database that have a node type that is blank. That's probably what they are.

nick_vh’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Ah yes, that is possible. Thanks for reporting, will help other people that run in to similar problems