Developer forum

Forum » Ecommerce - Standard features » New Index: Show products from query on page

New Index: Show products from query on page

Tom Kamphuis
Reply

Hi guys,

I'm trying to get the new Lucene indexer to work in a poc. I've created a fairly simple repository with two instances based on the LuceneIndexProvider which makes use of a builder based on the ProductIndexBuilder. The fields are fetched using the ProductIndexSchemaExtender. The instances are filled with data (10.000 products) and I've created a simple query without any expressions which should return the full list of products if I'm not mistaking.

Next; I created a page with the ecom module showing products from the Index, using the query I've just described. When looking at the page with the module, the 'no products found' template is loaded... which is strange given the fact that I'm not narrowing my search down with any specific expression in my query.

Am I missing something here? I've followed the (good!) video "Search and you will find" from Jeppe but I'm not able to make it work on my machine. Any suggestions?

Cheers,
Tom


Replies

 
Tom Kamphuis
Reply

After checking my query, I found out that a previous created expression couldn't be deleted from the query. You can delete it and then hit save and exit on the query but when returning to the query the expression is there again. Got it working now but maybe that's a bug.

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Tom

OK, will have someone look into it.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum