• I recently installed Relevannsi because it was rated so well on wordpress’ plugin site. I indexed it and then tried to do a search and got the “Welp! We couldn’t find that! Try again?” response. I haven’t changed any of the settings other than to create the index. I’m not a programmer, so I hope the answer is pretty simple. If not, my husband *is* a programmer so I can pass the answer off to him. Can someone please help me? My site is https://www.dishingthedivine.com.

    State of the Index

    Documents in the index: 249
    Highest post ID indexed: 4858

    No customizations on my search results page that I know of. It’s just a basic food blog and most people do searches like “cheese” or “chocolate.” ??

    Is that helpful?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I just updated to Premium 1.7.1 and I have the exact same issue. I haven’t change any settings and it worked fine with the previous version. Please advise how to fix this.

    Same here, I get zero results with Relevanssi enabled. If I deactivate Relevanssi and try the search again, I see results.

    I fixed my issue my deactivating the plug-in and then re-activating it. This fixed the issue for me. Good luck!

    Jszurzsewski, could be many things… Are you making custom queries in the search results page? Using query_posts()? That’s one thing that throws Relevanssi off.

    Nope, nothing custom, this is the contents of my search results page:

    <?php global $s; ?>
    	<h2 id="pageContentHeader">Your Search For: <?php echo $s; ?></h2> <?php
    	if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    		<div class="searchResultWrapper">
    			<a>"><h2><?php the_title(); ?></h2></a>
    			<?php the_excerpt(); ?>
    		</div> <?php
    	endwhile;
    	endif;
    ?>

    [Please post code snippets between backticks or use the code button.]

    I have the same problem here: https://giulionic.altervista.org
    I noticed that my theme calls the query_post() function, but relevanssi doesn’t work also if I delete the first line:

    <?php query_posts($query_string.'&posts_per_page=15') ?>
    
    <?php get_header(); ?>
    <div id="content-container">
    <div id="content">
    
    	<div id="body">
    
    	<?php if (have_posts()) : ?>
    
    		<h2 class="pagetitle"><?php _e('Search Results', 'elegant-grunge') ?></h2>
    
    		<?php while (have_posts()) : the_post(); ?>
    			<div class="search_result">
    			<h4><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'elegant-grunge'), get_the_title()); ?>"><?php the_title(); ?></a></h4>
    			<small><?php the_excerpt(); ?></small>
    			<p class="metadata">
    				<?php comments_popup_link(__('no comments', 'elegant-grunge'), __('1 comment', 'elegant-grunge'), __('% comments', 'elegant-grunge')); ?>
    				<?php the_tags('&nbsp;&nbsp;|&nbsp;&nbsp;'.__('tags:', 'elegant-grunge').' ', ', ', ''); ?>
    				<?php if ( count(($categories=get_the_category())) > 1 || $categories[0]->cat_ID != 1 ) : ?>
    				 | <?php _e('posted in', 'elegant-grunge') ?> <?php the_category(', ') ?>
    				<?php endif; ?>
    				<?php edit_post_link(__('Edit', 'elegant-grunge'), '&nbsp;&nbsp;|&nbsp;&nbsp;', ''); ?>
    			</p>
    			</div>
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'elegant-grunge')) ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'elegant-grunge')) ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center"><?php _e('No posts found. Try a different search?', 'elegant-grunge') ?></h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    	<?php endif; ?>
    
    	</div>
    
    	<?php if ( get_option('page_setup') != 'no-sidebar' ) get_sidebar(); ?>
    
    </div>
    
    <div class="clear"></div>
    </div>
    <?php get_footer(); ?>

    can someone help me?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘relevanssi search – returns nothing’ is closed to new replies.