Forums / General / Lucene configuration?
Siniša Šehović
Monday 03 July 2006 4:07:42 am
Hi
How can I configure Lucene engine to index specific sections like custom user class in section users?
I can see in debug output that user section is not included in search?
Best regards,S.
--- If at first you don't succeed, look in the trash for the instructions.
Paul Borgermans
Monday 03 July 2006 4:42:14 am
Hi Sinisa
Tx for testing/using the lucene search plugin!
The lucene indexer indexes all objects and searchable attributes, regardless of section. So you should be able to search all sections, <b>provided the current logged in user has access to them (check this first in the roles/policies)</b>. Access control is done at search time.
You may try the admin interface and log in as admin to test.
In the search box specify
m_section_id:2
This should list all objects in the section 2 (which is by default the users section). Check your install if section id 2 corresponds to this or if you have other dedicated sections for users.
hth
--paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Monday 03 July 2006 4:44:54 am
Hi Paul
Yes you are right:-)
My role for users was misconfigured.
Thanx for help.
Btw, great extension!!
S.
Monday 03 July 2006 4:49:39 am
Hi Paul,
How to configure advancedsearch with Lucene?
Can you give me a hint?:-)
Btw will Lucene index PDFs on publish too?
Monday 03 July 2006 5:00:18 am
Which version of Exponential are you running? There are bugs in the advanced search anyway and a few search types are not yet supported by the lucene plugin (I hope to add these this week, together with patches for the advanced search).
Regards
Monday 03 July 2006 5:02:05 am
About pdf indexing and other binary files: the lucene plugin relies on the Exponential configuration for this. If it works with the ez search it will work with the lucene plugin as well.
Monday 03 July 2006 5:17:59 am
I am using ezp 3.8.2 from svn.
That would be great to have advancedsearch too.