Page 1 of 1
configure search to return notes
PostPosted:Fri Nov 14, 2014 4:31 am
by silverspr
Hello
Using openkm 6.3 community. How would I configure the search to return notes appended to a document.
thanks
Re: configure search to return notes
PostPosted:Sat Nov 15, 2014 5:18 pm
by jllort
You would like to see notes at search results view, is that ? Well these feature is actually yet done in professional version and you should be waiting be released by us also in community or do it yourself in source code. I can guide you about what you need to touch in code.
Re: configure search to return notes
PostPosted:Mon Nov 24, 2014 5:50 am
by mohasinmujawar56
Can you please guide me to do so...?
Re: configure search to return notes
PostPosted:Tue Nov 25, 2014 6:20 pm
by jllort
Take a look at SearchFullResult.java, it take control about how are displayed the messages. My suggestion is first test if from GWTDocument arrives the notes, in case afirmative do minimal changes in UI to be shown ( could be a popup, show / hidden panel etc... do as easy as you can imagine, this normally is the best option ).
Also you need the development environment, take a look at
http://wiki.openkm.com/index.php/Developer_Guide
Re: configure search to return notes
PostPosted:Fri Apr 10, 2015 8:58 am
by Catscratch
Hi,
I got a similar question. How may I search for notes itself?
Im thinking about some extension of DbSearchModule (findPaginated) to also search within document notes via database. How to do so? Which classes do I have to extend?
I'm using 6.3.1 Community.
Re: configure search to return notes
PostPosted:Tue Apr 21, 2015 11:49 am
by pavila
This is not the right approach. You have to add an indexable field in NodeBase where the notes are stored. This way you can search any node by notes. And every time a note is added or removed, this field should be updated with all the node notes.