Hi,
Version 3.4.0 was all about removing Hibernate Search and use pure Lucene, so there are lot of changes in this area.
However all example usages can be found in the Wicked storefront application, so you should have plenty of examples.
The actual facade API did not change that much, so it is quite surprising that you are struggling with the upgrade (unless you have some customisations at very low level).
Lucene query factory was NOT removed it is still there defined in core-services.xml
But the interface is now called SearchQueryFactory because we wanted to abstract from the actual implementation (for example if someone wanted to use an alternative implementation for FT search support).
All Full text search (Lucene) related implementation is in search module, everywhere else there were changes in renaming of interfaces and classes to make things more generic.
But you should not be going that low level down, ProductServiceFacade provides "black box" API, so it should just work. The master is 100% functional and tested and is almost prod ready. It could be that you just have a bad merge with master (try to compare your code to clean master copy).
Hope this gives you a start.
Regards,
YC team
P.S. if you want to have another attempt at upgrade to 3.3.1 we would recommend reviewing the package.json as in most cases the problem lies in the incompatible dependencies versions. Make all versions exact and see what happens.