Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP PECL を使用して Solr の特定のフィールドをクエリしようとしています。
現在、setQuery 関数を使用していますが、クエリを特定のフィールドに設定することはできません。
ありがとうケビン
「edismax」パーサーを使用する必要があると思います。これを試してください:
$solrCriteria->setQuery(<your keyword here>); $solrCriteria->setParam('defType','edismax'); $solrCriteria->setParam('qf','<first field here> <second field here> ...');