作者:as2520_526 | 来源:互联网 | 2023-05-19 14:44
Website:Classifiedswebsite(usersmayputads,searchadsetc)网站:分类广告网站(用户可以投放广告,搜索广告等)Iplant
Website: Classifieds website (users may put ads, search ads etc)
网站:分类广告网站(用户可以投放广告,搜索广告等)
I plan to use SOLR for searching and then return results as ID nr:s only, and then use those ID nr:s and query mysql, and then lastly display the results with those ID:s.
我打算使用SOLR进行搜索,然后将结果作为ID nr:s返回,然后使用那些ID nr:s并查询mysql,最后用这些ID显示结果:s。
Currently I have around 30 tables in MySQL, one for each category.
目前我在MySQL中有大约30个表,每个类别一个。
1- Do you think I should do it differently than above?
1-你认为我应该采取与上述不同的方式吗?
2- Should I use only one SOLR document, or multiple documents? Also, is document the same as a SOLR index?
2-我应该只使用一个SOLR文档还是多个文档?此外,文档是否与SOLR索引相同?
3- Would it be better to Only use SOLR and skip MySQL knowing that I have alot of columns in each table? Personally I am much better at using MySQL than SOLR.
3-仅使用SOLR并跳过MySQL知道我在每个表中有很多列会更好吗?就个人而言,我比使用SOLR更善于使用MySQL。
4- Say the user wants to search for cars in a specific region, how is this type of querying performed/done in SOLR? Ex: q=cars®ion=washington
possible?
4-假设用户想要搜索特定区域的汽车,在SOLR中如何执行/完成此类查询?例如:q =汽车和地区=华盛顿可能吗?
You may think there is alot of info about SOLR out there, but there isn't, and especially not about using PHP with SOLR and a SOLR php client... Maybe I will write something when I have learned all this... Or maybe one of you could write something up!
您可能认为有很多关于SOLR的信息,但是没有,特别是没有使用PHP与SOLR和SOLR php客户端...也许我会在我学会了这些之后写些东西...或者也许你们其中一个人可以写点东西!
Thanks again for all help...
再次感谢所有帮助......
4 个解决方案