mattweber / solr-for-wordpress

A WordPress plugin that replaces the default WordPress search with Solr
85 stars 36 forks source link

Multiple Post Types #24

Open foodnavorg opened 13 years ago

foodnavorg commented 13 years ago

Is it possible to create some sort of an Array for Post Types to check the database for? I know there is a way to do it, but am I the only one that seems interested in this? I'm working on my own stuff with the plugin, and I'm continually struggling with github to get it to work correctly.

Thanks,

shaksi commented 12 years ago

Okay just committed some code, to do just that... You should be able to index all content types.

Can you check it out, feedback welcome :)

foodnavorg commented 12 years ago

I had removed the custom post type for the sake of rolling something out. However, when I put it back in with activating the plugin the "Options" page isn't displaying the Array like I’m guessing it's supposed to when I looked at the code?

Jerry E. Craig Direct: 480-304-7123 or 866-694-6998 www.inforeverse.com

-----Original Message----- From: Shakur Shidane [mailto:reply@reply.github.com] Sent: Tuesday, December 13, 2011 11:50 AM To: Jerry E. Craig Subject: Re: [solr-for-wordpress] Multiple Post Types (#24)

Okay just committed some code, to do just that... You should be able to index all content types.

Can you check it out, feedback welcome :)


Reply to this email directly or view it on GitHub: https://github.com/mattweber/solr-for-wordpress/issues/24#issuecomment-3127497

foodnavorg commented 12 years ago

can you post a screenshot of what the "Options" page is supposed to look like with the custom Post Types? I haven't tried in a while but was just out here looking at what's going on and thought I'd check in on this.

dustinrue commented 12 years ago

The post types that you can index are now auto generated based on the post types you have defined. You'll simply see a list of "Index all ". If you don't see that you might need to remove your old plugin configuration data. I found that I had to do this on our live site

emmigereb commented 12 years ago

My custom post types are showing up on the config page but i am not able to save them. So they are never indexed. Any idea?

emmigereb commented 12 years ago

And by the way... how do I remove old plugin configuration data?