Hello Phil and Thomas,
Skosmos relies on the jena-text index so how the search works depends a
lot on the index configuration. Have you checked out the configurations
here in the wiki:
https://github.com/NatLibFi/Skosmos/wiki/TextAnalysisConfiguration
There are recipes for configuring the index so it matches individual words.
Please report back if you can get it working the way you like! This is
something we are also interested in for Finto - the default way is OK
for traditional topic-oriented thesauri (at least has been so far) but
matching individual words would be better for e.g. name authority lists
such as the recently published KANTO/FINAF:
http://finto.fi/finaf/en/
-Osma
PS. Sorry for the long wait...
PBS Stac kirjoitti 12.1.2021 klo 15.13:
> Thomas thanks for posting this we have the same problem with searching
> for terms in buildvoc. When we search for ‘alarm’ no results found but
> we search for ‘fire alarm systems’
>
http://buildvoc.co.uk/resource/c_7804ad6cresults found.
>
> Any any improvements on search would be greatly appreciated and well
> received
> Phil
>
> Get Outlook for iOS <
https://aka.ms/o0ukef>
> ------------------------------------------------------------------------
> *From:*
skosmo...@googlegroups.com <
skosmo...@googlegroups.com>
> *Sent:* Monday, January 11, 2021 3:51:09 PM
> *To:* Bruno P. Kinoshita <
brunod...@yahoo.com.br>
> *Cc:* Skosmos Users <
skosmo...@googlegroups.com>
> *Subject:* Re: Search on individual words + multi word on the beginning
> of label ?
> Hello
>
> I know there have been some progress on full-text search at the Jena
> level in the last months, so I am reviving this 2 years old thread, as I
> am facing the same issue : Can I configure a search index so that
> individual words are splitted _and_ I can do a multi word search on the
> beginning of the label, or on the exact label ? Currently as soon as you
> type a space in the search box, you don't get any results.
>
> Thanks
> Thomas
>
>
> Le ven. 27 avr. 2018 à 10:20, Bruno P. Kinoshita
> <
brunod...@yahoo.com.br <mailto:
brunod...@yahoo.com.br>> a écrit :
>
>
>
> Not sure if I may be of much more help, not much experienced with
> Skosmos + JenaText. But in this pull request I included in the
> comments my configuration. That may be of some help perhaps?
>
>
https://github.com/apache/jena/pull/395/
>
> I used the LowerCaseTokenizer, and explicitly defined analyzer and
> queryAnalyzer, and no analyzers in the terms (simply because I read
> in the docs somewhere that one analyzer would be reused somewhere...
> but I wanted to confirm how the code worked and didn't have time).
>
> The only other suggestion I have I think, is to try and debug the
> problem in parts starting from lucene. If you are able to open the
> lucene index in Luke, then a simple query will display if the
> tokenizer/analyzers are working OK. If so, my next try would be a
> simple Jena Text query (i.e. some SPARQL-fu to craft a query with
> text:query).
>
> Only then I would dig what's going on in Skosmos. For my pull
> request above, I made a few mistakes in the assembler configuration
> (bad combination of some parameters, misspellings, etc), so doing
> that way it saved me some time. Of course I also had Eclipse with
> Jena, and used some breakpoints to see what was happening in the
> code... but that's not really necessary.
>
> Hope that helps,
> Bruno
>
>
> ________________________________
> From: Thomas Francart <
thomas....@sparna.fr
> <mailto:
thomas....@sparna.fr>>
> <mailto:
brunod...@yahoo.com.br>>
> Cc: Skosmos Users <
skosmo...@googlegroups.com
> <mailto:
skosmo...@googlegroups.com>>
> Sent: Friday, 27 April 2018 8:12 PM
> Subject: Re: Search on individual words + multi word on the
> beginning of label ?
>
>
>
> Hello Bruno
>
> Thanks for your answer
>
>
>
> 2018-04-27 4:05 GMT+02:00 Bruno P. Kinoshita
> <
brunod...@yahoo.com.br <mailto:
brunod...@yahoo.com.br>>:
> <mailto:
thomas....@sparna.fr>>
> >To: Skosmos Users <
skosmo...@googlegroups.co
> <mailto:
skosmo...@googlegroups.co> m>
> >blog :
blog.sparna.fr <
http://blog.sparna.fr>, site :
sparna.fr
> <
http://sparna.fr>, linkedin :
fr.linkedin.com/in/thomasfranc
> <
http://fr.linkedin.com/in/thomasfranc> art
> >tel :
+33 (0)6.71.11.25.97, skype : francartthomas
> >--
> >You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> >To unsubscribe from this group and stop receiving emails from it,
> send an email to skosmos-users+unsubscribe@goog
legroups.com
> <
http://legroups.com>.
> >To post to this group, send email to
>
skosmo...@googlegroups.com <mailto:
skosmo...@googlegroups.com> .
> <
http://40mail.gmail.com>.
> >For more options, visit
https://groups.google.com/d/op tout.
> >
>
>
> --
>
>
> Thomas Francart -SPARNA
> Web de données | Architecture de l'information | Accès aux connaissances
> blog :
blog.sparna.fr <
http://blog.sparna.fr>, site :
sparna.fr
> <
http://sparna.fr>, linkedin :
fr.linkedin.com/in/
> <
http://fr.linkedin.com/in/> thomasfrancart
> tel :
+33 (0)6.71.11.25.97, skype : francartthomas
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
skosmos-user...@googlegroups.com
> <mailto:
skosmos-users%2Bunsu...@googlegroups.com>.
> <mailto:
skosmo...@googlegroups.com>.
> To view this discussion on the web visit
> *
> *
> *Thomas Francart* -*SPARNA*
> Web de _données_ | Architecture de l'_information_ | Accès aux
> _connaissances_
> blog :
blog.sparna.fr <
http://blog.sparna.fr>, site :
sparna.fr
> <
http://sparna.fr>, linkedin :
fr.linkedin.com/in/thomasfrancart
> <
https://fr.linkedin.com/in/thomasfrancart>
> tel :
+33 (0)6.71.11.25.97, skype : francartthomas
>
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
skosmos-user...@googlegroups.com
> <mailto:
skosmos-user...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/skosmos-users/CAPugn7XSqptgVEfwaQTU4RogfPbgQs08mtps%3DPX9ivV9prCN7w%40mail.gmail.com
> <
https://groups.google.com/d/msgid/skosmos-users/CAPugn7XSqptgVEfwaQTU4RogfPbgQs08mtps%3DPX9ivV9prCN7w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
skosmos-user...@googlegroups.com
> <mailto:
skosmos-user...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/skosmos-users/AM6PR03MB444048A19345846B06C58294A9AA0%40AM6PR03MB4440.eurprd03.prod.outlook.com
> <
https://groups.google.com/d/msgid/skosmos-users/AM6PR03MB444048A19345846B06C58294A9AA0%40AM6PR03MB4440.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>.
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 15 (Unioninkatu 36)
00014 HELSINGIN YLIOPISTO
Tel.
+358 50 3199529
osma.s...@helsinki.fi
http://www.nationallibrary.fi