MichalKleiner

I only said that fts queries _text by default, not the Content field. How the actual content gets into _text was not a part of my post

firesphere

When using filwers/boosting etc., the search itself is still executed on the default field, commonly known as _text

firesphere

That's not exactly how/why _text works. _text contains a copy of all content to search, and is the primary source for Solr to search on. Other fields, e.g. Content, can be returned if stored, and/or filtered on if indexed.

MichalKleiner

so to every statement there can be a lot of “but that” and “or that” kind of arguments

Marcus Collier

I agree, I’m not trying to be hostile, it’s just wading into search in my opinion is very messy currently within silverstripe.

MichalKleiner

FTS is around for quite some time and once one understands its ways of doing “things”, it can be bent as much as you wish.

MichalKleiner

we use it on all our projects and apart from not supporting newer versions of Solr and some opinionated ways of doing things, I don’t it’s a bad thing.

MichalKleiner

the lack of active development, in this case, doesn’t mean it’s not a mature and stable module

Marcus Collier

Well the issue was I could get indexing working, but bringing in the search form/results just didn’t seem to work. Granted I probably have more knowledge now to make it work. The docs in fts just say ‘do this’ and it didn’t work. 😕

Marcus Collier

and I started looking at CWP as that seems to be the main implementation of FTS, which got me more confused.

Marcus Collier

hence I came to that channel - and hence where I am now.

Marcus Collier

if someone else had responded to my earlier queries, I probably would have continued with FTS, as firesphere’s certainly had less docs and more wtf moments, but then he pretty much has been helping me along the way. And the way he talked, his library will eventually replace fts.

MichalKleiner

if it’s for learning, then all good… if it’s for a project that will go live soon (next 2-6 months), use FTS with the fixes to make it work with Solr 6 — that’d be my recommendation

MichalKleiner

well.. he works at silverstripe, but is not silverstripe.. so it’s not up to him whether it will replace it or not

MichalKleiner

there certainly needs to be development done to make FTS work with Solr8

Marcus Collier

yeh, merging the solr5 changes would be good step - as solr4 is EOL, it was one of the factors to making me change libraries.

MichalKleiner

it’s just a documentation hold up… I’ll poke it a bit and/or possibly create a parallel PR with the changes addressed to get it moving


Show less replies
MichalKleiner

simplifying things here though, it can do so much when customised

MichalKleiner

that’s another thing… which field you search against… fts defaults to _text or whatever override you define… not the content field